- Silicon Labs Community
- Welcome and Announcements
- Silicon Labs Knowledge Base
- 8-bit MCU
- 32-bit MCU
- Bluetooth / Wi-Fi
- Other Products Category
- Optical/RH/Temp Sensor
- Other Products
- Hardware and Software Tools
- Simplicity Studio and Software
- General Discussions and Suggestions
- Chinese Forum
- Software Libraries
- Development Kits
- Reference Designs
- Third Party Tools
- White Papers
- Official Blog of Silicon Labs
- Chinese Blog
09-13-2017 04:17 PM
In BGScript, I know this isn't an option as per here, but what about in the C SDK?
In my custom UART protocol, I could look for a special "uart dfu" command, and when that comes in, update UART configuration to BGAPI mode, and then complete Firmware update.
If the updated firmware sets up the UART as non BGAPI, would that cause any issues?
As a side question - what's the proper way to setup UART in C SDK for BGAPI?
09-14-2017 04:00 AM
in our latest release (Bluetooth SDK v2.4.2) the BGAPI commands are handled by the user application and not by the stack. This gives you more freedom to modify the handling of incoming/outgoing BGAPI packets.
Please create a "NCP target - Empty" Software Example project in Simplicity Studio, and take a look at the source code, especially ncp_usart.c.
You can configure the USART settings in ncp_usart_conf.h