This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to log data in Hexadecimal format over nRF Toolbox(UART) android application

Hi,

I'm working on accelerometer + BLE application. My current configurations are nrf51822 and LIS3dh accelerometer chip, Protocol TWI, Softdevice 110, BLE service type is ble_nus_init_t, Android application is UART sub app in nRF Toolbox. At this stage, I can successfully communicating with accelerometer and also able to transmit this data to android application in UART window.

Now I have 2 issues :

  1. As I'm transmitting raw data over application, I want to see this raw data hexadecimal format in display window. currently app displays data in ASCII.

  2. Also I want to log this data in any file(Hexadecimal format is preferable).

Reason behind why I want to store Hex data is that I'm want to build some algorithm over stored data in tool like Matlab.

It would be great if any one suggest some solution to get data in hex format from nrf51822 over BLE and store it in file somewhere in phone.

Related