• AVR Freaks

Hot!RN4020 private Characteristics

Author
guenternagel
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2019/06/09 08:46:26
  • Location: 0
  • Status: offline
2019/06/11 08:37:05 (permalink)
0

RN4020 private Characteristics



I use a RN4020 BLE Module to communicate with the VALRT BT Button: https://vsnmobil.com/products/v-alrt/specs

Problem is, I need to send "80BEF5ACFF" within 30sec after connect to the specific private UDID "FFFFFFF5-00F7-4000-B000-000000000000" (see reference: https://github.com/HoyosI...V.ALRT-bluetooth-spec)

Problem is, I always get "ERR" back from RN4020.

Here is my Initialisation Code (which works):

sf,2 //Factory Reset
+ //echo on
sr,92000000 //configure as Master
r,1 //reboot
F //search devices
X //stop searching
E,0,001EC026C931 //connect to device with mac: 001EC026C931 which is my device
B //Bond


Get a "Connected" back and the Button quit it with a Beep.

Now I tried to Write

CUWV,FFFFFFF5-00F7-4000-B000-000000000000,80BEF5ACFF


with and without "-" but allways get a error back. At github are samples for Android and iOS but its not clear for me what I have to send...

Think I forgot prestep, but I dont know which one.


When I send a "LC", i get this stuff back:

180A

  2A23,0012,02

  2A24,0014,02

  2A25,0016,02

  2A26,0018,02

  2A27,001A,02

  2A28,001C,02

  2A29,001E,02

  2A2A,0020,02

1803

  2A06,0025,0A

1802

  2A06,0028,04

1804

  2A07,002B,02

  2A07,002C,10

180F

  2A19,002F,02

  2A19,0030,10

  FFFFFFA000F74000B000000000000000

  FFFFFFA100F74000B000000000000000,0034,0A

  FFFFFFA200F74000B000000000000000,0037,02

  FFFFFFA300F74000B000000000000000,003A,00

  FFFFFFA300F74000B000000000000000,003B,10

  FFFFFFA400F74000B000000000000000,003E,00

  FFFFFFA400F74000B000000000000000,003F,10

  FFFFFFA500F74000B000000000000000,0042,00

  FFFFFFA500F74000B000000000000000,0043,10

END


As you can see, not the Service / Characteristic what Im looking for. Pretty same but not same. Tried the "FFFFFFA500F74000B000000000000000" one but still not working.

When I connect the button with the BLE Scanner Android App it works well, I can see the requested Characteristic and I can write to it.



#1

1 Reply Related Threads

    guenternagel
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2019/06/09 08:46:26
    • Location: 0
    • Status: offline
    Re: RN4020 private Characteristics 2019/06/18 05:41:02 (permalink)
    0
    Im willing to pay for the solution. Please send me details via PM.
    #2
    Jump to:
    © 2019 APG vNext Commercial Version 4.5