Microchip BLE module configuration

Hi. If Microchip BLE module RN4871-V/RM118 is used in the circuit, no default services / characteristics are available. So BLE is found by BleTerm or other apps, but writing or reading data is not possible, because the services and characteristics are blank. Can you help me how to configure it in Arduino, if it is possible this way?

read to your heart's content https://www.mouser.com/pdfdocs/RN4870-1UsersGuide.pdf

Learn how to do your own research instead of having someone do it for you.

.

I know the manual. But I ask someone with the experience with that module who would be so kind and share his simplier example or the complete solution. But fortunatelly I have found a nice library for that: https://github.com/axelelettronica/sme-rn4870-library
So it is a good source for any other who would like to work with the RN4870/71.

vracmi:
I know the manual. But I ask someone with the experience with that module who would be so kind and share his simplier example or the complete solution. But fortunatelly I have found a nice library for that: GitHub - axelelettronica/sme-rn4870-library: The basic Library for the Microchip rn4870 BLE
So it is a good source for any other who would like to work with the RN4870/71.

Amazing what you were able to accomplish in less than an hour, isn’t it?

That module isn’t popular around here. The HM-10 is.

The library or examples do not solve my problem. I am going to specify what I need know and very kindly ask users mainly who have some experience with RN BLE modules to help me.

I need to configure RN4871 directly from my MCU. Not using USB serial and user commands.
I need to get into the configuration mode and do some commands. The steps are in http://ww1.microchip.com/downloads/en/DeviceDoc/50002547A.pdf (attached).

  • my MCU (Atmega 328p) communicates via UART with the RN4871
  • I start Serial with 115200
  • I send the commands using Serial.

There is no effect. Is the proceeding allright? If not, how to do it with Arduino code?

No one?

I tried to use exactly the process described in http://www.microchip.com/forums/m979676.aspx (by JuliaDee Sunday, March 26, 2017 1:04 AM) and without any results. I don't have USB serial, so unfortunatelly I cannot see the results. I just send commands via serial from MCU.