How do you setup service configuration commands for RN4870 in arduino or any MCU?...When I write the PS & PC commands my bluetooth connection gets disconnected from the device. Any tips on how to proceed?
Thanks
How do you setup service configuration commands for RN4870 in arduino or any MCU?...When I write the PS & PC commands my bluetooth connection gets disconnected from the device. Any tips on how to proceed?
Thanks
**My code:
SF,1; // Factory reset S-,My_dev; // Setting Name of device
SC,0; // Connectable advertisement SS,C0; // UART transparent and Device Information
SDA,0340 // Set appearance to Generic Heart Rate Sensor
&,DF1234567890 // Had to setup the MAC address as the device // was showing "anonymous" MAC address and
// wasn't able to connect
PS,010203040506070809000A0B0C0D0E0F // Example from the
// RN4870 datasheet
PC,11223344556677889900AABBCCDDEEFF,1A,05 // Example from // the RN4870 datasheet**