Android Question Ble2 Received data format

Steve-h

Member
I am receiving data sent as a notification but it is not what I am expecting. I am sending a number between 0x0000 and 0xFFFF. What I extract from the data received map for each event is for example [B@2ed290e2 or [B@22a48fa9 or [B@2b8accf

If I look at the data with nRF Connect I see the value I am expecting.

Is this perhaps because of the format it is presented in, do I need to convert it from something into hex ?
 

Steve-h

Member
Thank you for that.

I guess it was obvious to some but not to me.
After some weeks puzzling over this I now see the numbers I was expecting and have two way communication.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…