[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-735362-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-735362-en":130,"doc-similar-735362":161},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","volume-vii-utilities","Volume VII - Utilities","","Volume VII: Utilities describes the MPLAB Harmony utilities used to streamline middleware development, including TCP/IP and Wi-Fi support, along with the Microchip Proprietary File System (MPFS2) and the Microchip Management Information Base (MIB) Compiler. The document explains how Microchip’s SNMP Agent relies on a custom MIB script, the mib2bib tool workflow, required command syntax, compilation constraints, and the compiler’s output artifacts. It also lists runtime error codes to help troubleshoot script parsing and integration issues.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/volume-vii-utilities/735362/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/volume-vii-utilities/735362.png","ImageObject",300,407,{"name":42,"@type":43},"4398046744996","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-11-23",true,{"@type":52,"interactionType":53,"userInteractionCount":26},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What role does the Microchip MIB Compiler play in MPLAB Harmony utilities?","Question",{"text":62,"@type":63},"It provides tooling to define and compile the MIB that the Microchip SNMP Agent uses. The compiled result is converted into a format suitable for storing MIB data in the application via MPFS2.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What format must a Microchip MIB script follow for mib2bib compilation?",{"text":67,"@type":63},"A Microchip MIB script is an ASCII text file made of single-line command lines. Each command starts with a dollar sign ($) and uses comma-delimited parameters enclosed in parentheses.",{"name":69,"@type":60,"acceptedAnswer":70},"What are the key limitations that can cause mib2bib parsing errors?",{"text":71,"@type":63},"All command lines must be written in a single line, command parameters must end immediately with a comma or a right parenthesis, and all numerical data must be written in decimal.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},735362,1795460519,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":11,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":26,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":138,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":143,"preview_page_count":33,"preview_urls":144},4398046744996,"MPLAB Harmony Help  \nMPLAB Harmony Integrated Software Framework  \n© 2013-2018 Microchip Technology Inc. All rights reserved.  \nVolume VII: Utilities   \nThis volume describes the utilities that are available in MPLAB Harmony.  \nDescription  \nMPLAB Harmony provides utilities to simplify the development process of middleware technologies, such as TCP/IP and Wi-Fi, as well as the Microchip Proprietary File System (MPFS2) and the Microchip Management Information Base (MIB) Compiler.  \nMicrochip MIB Compiler  \nThis section provides a description of the Microchip Management Information Base (MIB) Compiler.  \nDescription  \nMicrochip’s SNMP Agent uses a custom script to describe the MIB. This script is designed to simplify the MIB definition and its integration with the main application. The actual MIB used by the SNMP Agent is a binary image created by the Microchip Management Information Base (MIB) to Binary Information Base (BIB) compiler named mib2bib.  \nMicrochip MIB Script Commands  \nA Microchip MIB file is an ASCII text file consisting of multiple command lines. Each command line consists of a single command, starting with the dollar sign character ($), and one or more command parameters delimited with commas and enclosed in parentheses. Lines that do not start with a dollar sign are interpreted as comments and are not processed by the compiler. Commands must be written in a single line; they cannot span multiple lines.  \nThe MIB script language includes a total of five commands, each having a specific syntax. Only one command, DeclareVar, is mandatory; the others are optional depending on the application and the types of information to be defined. In practice, at least one other command will be used in defining an MIB.  \nNotes:  \n1. Both the ASN .1 MIB file and the Microchip MIB script use the same .mib file extension; however, the files have distinctly different purposes. The ASN .1 MIB file is used by the MIB browser (NMS) to properly display context for your application.  \n2. The Microchip MIB script is compiled using mib2bib to create a BIB file. The BIB file is later converted using MPFS2 to store the MIB data for your application in internal Flash or EEPROM.  \nMIB Compiler  \nThe mib2bib compiler converts the Microchip MIB script into a binary format compatible with the Microchip SNMP Agent. It accepts a Microchip MIB script in ASCII format and generates two output files: the binary information file, snmp .bib, and the C header file, mib .h. The binary file can be included in a Microchip File System (MPFS2) image.  \nThe complete command line syntax for mib2bib is:  \n\\# java –jar mib2bib.jar [/?] [/h] [/q] \u003CMIBFile> [/b=\u003COutputBIBDir>] [/I=\u003COutputIncDir] where:  \n• /? -Displays command line help  \n• /h-Displays detail help for all script commands  \n• /q-Overwrites existing snmp .bib and mib .h files  \n• \u003CMIBFile> -is the input MIB script file  \n• \u003COutputBIBDir> -is the output BIB directory where snmp. bib should be copied. If a directory is not specified, the current directory will be used  \n• \u003COutputIncDir> -is the output Inc directory where mib. h should be copied. If a directory is not specified, the current directory will be used For example, the command, Java –jar mib2bib.jar MySNMP .mib, compiles the script, MySNMP .mib, and generates the snmp .bib and mib .h output files in the same directory.  \nConversely, the command, mib2bib /q MySNMP .mib /b=WebPages, compiles the MySNMP .mib script file and overwrites the existing output files. It also specifies that the snmp .mib file is located in the subdirectory, WebPages. Because it is not specified, mib .h is assumed to be in the current directory.  \nIf compilation is successful, mib2bib displays the statistics on the binary file, including the number of OIDs and the Agent ID, and the output file size.  \nThe MIB compiler is a simple rule script compiler. While it can detect and report many types of parsing errors, it has these known limitations:  \n• All command lines must","cbCaiuuyFJqe5nwE","https://ap.wps.com/l/cbCaiuuyFJqe5nwE","pdf",10680637,27,"English","# Microchip MIB Compiler\n## Microchip MIB Script Commands\n## MIB Compiler\n## mib2bib Command Line Syntax\n## Typical Output Display for a mib2bib Compilation\n## mib2bib.jar Run-time Error Codes","[{\"question\":\"What role does the Microchip MIB Compiler play in MPLAB Harmony utilities?\",\"answer\":\"It provides tooling to define and compile the MIB that the Microchip SNMP Agent uses. The compiled result is converted into a format suitable for storing MIB data in the application via MPFS2.\"},{\"question\":\"What format must a Microchip MIB script follow for mib2bib compilation?\",\"answer\":\"A Microchip MIB script is an ASCII text file made of single-line command lines. Each command starts with a dollar sign ($) and uses comma-delimited parameters enclosed in parentheses.\"},{\"question\":\"What are the key limitations that can cause mib2bib parsing errors?\",\"answer\":\"All command lines must be written in a single line, command parameters must end immediately with a comma or a right parenthesis, and all numerical data must be written in decimal.\"}]","Volume VII - Utilities | PDF",68,[145,149,153,157],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-23/0a4533bf5279bf6e4621428267a1ff19.webp",983,1272,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-23/7091e137be9d11bf75034aa69a718c85.webp",982,1270,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-23/3c6ec176f3728f1dbca09a602919e4ca.webp",981,1269,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-23/52e2264c0789777968bf4012e1af1104.webp",980,1268,{"list":162,"token":11},[163,169,176,182,188,194,200,205,211,217],{"doc_id":164,"doc_title":165,"file_type":136,"home_preview_img_url":166,"slug":167,"view_count":110,"category_name":29,"create_tm":168},696688,"MPLAB Harmony Integrated Software Framework - v1.11 - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009773866/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=CWSDTEIA4a72BRlrP9Sm%2BYtbJLc%3D","mplab-harmony-integrated-software-framework-v111-overview",1794434390,{"doc_id":170,"doc_title":171,"file_type":136,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":29,"create_tm":175},497902,"MPLAB XC8 C Compiler User’s Guide for PIC","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229930308063/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=klY66tCfP%2Bew%2B3eR5%2BsWtS2J2wE%3D","mplab-xc8-c-compiler-users-guide-for-pic",11,1790970983,{"doc_id":177,"doc_title":178,"file_type":136,"home_preview_img_url":179,"slug":180,"view_count":96,"category_name":29,"create_tm":181},696692,"How to Setup MPLAB Harmony v3 Software Development Framework - TB3232 - Technical Brief","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009773888/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=pHW9CY6XfdARG6HDF4QgEm19Sa8%3D","how-to-setup-mplab-harmony-v3-software-development-framework-tb3232-technical-brief",1794434399,{"doc_id":183,"doc_title":184,"file_type":136,"home_preview_img_url":185,"slug":186,"view_count":110,"category_name":29,"create_tm":187},672944,"MPLAB Harmony v3 - Unified Software Development Framework for 32-bit MCUs and MPUs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229989935159/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=bx3u8zCmypavZ5khvw3jSOrTJuU%3D","mplab-harmony-v3-unified-software-development-framework-for-32-bit-mcus-and-mpus",1793615641,{"doc_id":189,"doc_title":190,"file_type":136,"home_preview_img_url":191,"slug":192,"view_count":96,"category_name":29,"create_tm":193},691388,"MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs User’s Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002675985/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=BQkBrK9NuT7HPSOQojXmAlCICeQ%3D","mplab-c-compiler-for-pic24-mcus-and-dspic-dscs-users-guide",1794174256,{"doc_id":195,"doc_title":196,"file_type":136,"home_preview_img_url":197,"slug":198,"view_count":33,"category_name":29,"create_tm":199},672942,"Volume I - Getting Started With MPLAB Harmony Libraries and Applications - RTOS Demonstrations Help","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990229816/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=%2FD2Grdcekb5xVu%2Bw%2FMJRiljt9uQ%3D","volume-i-getting-started-with-mplab-harmony-libraries-and-applications-rtos-demonstrations-help",1793615639,{"doc_id":201,"doc_title":202,"file_type":136,"home_preview_img_url":203,"slug":204,"view_count":33,"category_name":29,"create_tm":199},672941,"MPLAB Harmony Integrated Software Framework v1 - 11 - Release Notes - April 2017","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990229839/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=SVN%2BLn1F1ruv5JwCylhqFsNlT38%3D","mplab-harmony-integrated-software-framework-v1-11-release-notes-april-2017",{"doc_id":206,"doc_title":207,"file_type":136,"home_preview_img_url":208,"slug":209,"view_count":105,"category_name":29,"create_tm":210},672939,"MPLAB Harmony 3 - Integrated Software Framework - Advanced and Easy-to-Use Embedded Software Solution","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990229815/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=1ASPoZHPXaAqdrNdNiSRdNNgyeA%3D","mplab-harmony-3-integrated-software-framework-advanced-and-easy-to-use-embedded-software-solution",1793615633,{"doc_id":212,"doc_title":213,"file_type":136,"home_preview_img_url":214,"slug":215,"view_count":110,"category_name":29,"create_tm":216},696697,"OCPP 1.6 Quick Start Guide for MPLAB - Harmony v3 - Setup and Demo Application","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009773899/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=aQ44heMF0DzJjQA%2Fywq%2Bmv6ySBQ%3D","ocpp-16-quick-start-guide-for-mplab-harmony-v3-setup-and-demo-application",1794434411,{"doc_id":218,"doc_title":219,"file_type":136,"home_preview_img_url":220,"slug":221,"view_count":123,"category_name":29,"create_tm":222},272681,"IAR C/C++ Development Guide - Compiling and Linking for Arm Cores - Edition 30","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899512386/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112059&Signature=CWqHfO74N%2B4lNp%2BW4W1X5Vy1O24%3D","iar-cc-development-guide-compiling-and-linking-for-arm-cores-edition-30",1789466915]