Hello, I need develop a aplication using sensortag and internal magnetometer sensor. I can start the magnetometer and read this but in interactive mode, I can't make this operation in no interactive mode, white this commands:
sudo gatttool -b BC:6A:29:C3:47:DF --char-write -a 0x4a -n 01
I need write 01 in handle 0x4A for start magnetometer sensor and this is not writer.
sudo gatttool -b BC:6A:29:C3:47:DF --char-read -a 0x46
Characteristic value/descriptor: 00 00 00 00 00 00
best regards