This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Saving notification from gatttool in a file

Other Parts Discussed in Thread: CC2650

Hi,

I am reading notification from my CC2650 sensor for accelerometer and gyroscope which gets displayed on my console on the run. But how can I make it re-directed to a file so that instead of displaying on console, it keeps printing in the file while on the run dynamically.

Something like this should get saved in my file after I enable sensor notification. Normal > operator is not working.

Notification handle = 0x0039 value: 7e ff 46 0 bd 0
Notification handle = 0x0039 value: 72 ff 4b 0 a7 0
Notification handle = 0x0039 value: 63 ff 99 0 e5                   fe
Notification handle = 0x0039 value: 5c ff 98 0 30 4
Notification handle = 0x0039 value: 87 ff 4c 0 8f 0
Notification handle = 0x0039 value: 82 ff 65 0 9e 0

Thanks in advance.