Hi all, I'm working on nrf52832 in segger embedded studio. Using ble scanner app, I'm entering some random values. So when i enter a value, I'm adding them to watch and checking out the value. I entered an integer value of 10, i'm expecting the same value to come in watch, but I'm getting the value as hex. For example if i enter 10, I'm getting it as 0x10.
Have you checked out the documentation for Segger Embedded Studio (SES), and this "ble scanner app" ?
It's not entirely clear what you're doing here.
Remember that we can't see what you're doing, we don't know what "ble scanner app" you're using, etc, etc.
Please provide detailed descriptions of exactly what you are doing, where you are doing it, what equipment & tools you are using, etc.
You can insert screenshots & pictures using the 'Insert' menu ...
In segger embedded studio, i'm working on an application where it has this structure and the members of this structure are updated from ble scanner app. First i run the application in segger and search for that application in ble scanner app. once i connect to this application from mobile app, i will start writing some values.
So, i entered 20 from ble app, this is reflected as 0x20 in the application, i indicated it. Why am i getting such value?
You still haven't said what this "ble scanner app"
Clearly, it is interpreting what you enter as hex.
You will have to study the documentation for that app to see if it has any way to switch to another interpretation.
Okay....i will check it out...Thank you
Hi, The BLE scanner/nRF connect app scans for the application which keep on sending advertisement packets. Once the app pairs with application, write and read operations are performed from mobile app to application. So here, When i enter string data in the mobile app and tries to read it, BLE scanner app interprets the data which i written in string format but throws some junk data along with the real data. Whereas nRF connect app throws the string data in complete hex values.
Example, in BLE scanner app, i write data as ka6574 , While reading i get as ka6574?!
In nRF connect app, i write data as ka6574, it reads the hex values of ka6574 along with junk data.