I want to write gatttool in non-interactive mode.
gatttool
$ sudo gatttool -i hci0 -b 78:A5:04:44:0A:57 -I [78:A5:04:44:0A:57][LE]> connect Attempting
the option is not --char-write but a --char-write-req.
--char-write
--char-write-req
Total command must be:
sudo gatttool -i hci0 -b 78:A5:04:44:0A:57 --char-write-req -a 0x0025 -n ff