• AVR Freaks

Hot!RN4870 Handle Association

Author
CatLuigi
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2019/08/18 04:50:29
  • Location: 0
  • Status: offline
2019/08/23 05:59:14 (permalink)
0

RN4870 Handle Association

I can't understand where I'm wrong:
I cannot associate the analog input with the characteristic.
I always read the same fixed value 48 0D, whatever V is at the input of pin P1_2.
 
I executed the following commands starting from device with factory settings:
PS,010203040506070809000A0B0C0D0E0F
PC,11223344556677889900AABBCCDDEEFF,02,05
R,1
SR,0040 (To enable scripts)
 
I then read the handle of the feature with LS which is 0072
 
In the script I entered with the command WW:
@PW_ON
%0072 = @,2
Then I reset again.
 
When I go to read the feature it always gives me the usual fixed value 48 0D.
I tried with other pins but the value read is incorrect.
Firmware version V1.30 3/18/2018.
 
Thank you.
#1

1 Reply Related Threads

    JustPlaneD
    New Member
    • Total Posts : 15
    • Reward points : 0
    • Joined: 2018/10/24 13:44:38
    • Location: 0
    • Status: offline
    Re: RN4870 Handle Association 2019/11/04 11:50:31 (permalink)
    0
    Cat-
    I'm very interested to learn if you were able to resolve this issue. I'm attempting to read the battery voltage (@,4) in EXACTLY the same manner as you have described. However I am unable to get the RN to respond to my READ request.

    Questions:
    1). Were you able to get the above configuration & script to work correctly?
    2). Does your application issue a READ request to the UUID, or to the HANDLE.

    Regards,
    D
    #2
    Jump to:
    © 2019 APG vNext Commercial Version 4.5