v01d commented on issue #1639: URL: https://github.com/apache/incubator-nuttx/issues/1639#issuecomment-683171393
> My plan was to build something like `btmon` which is the modern replacement to `hcidump` that would leverage the HCI socket using the monitor channel. There is also `btmgmt` which fully exercises the HCI socket control channel, which fits in with `btsak` better, but it might be easier to just write something new here. For GATT I have always used `bluetoothctl` which I think has replaced `gattool` https://wiki.archlinux.org/index.php/bluetooth#Troubleshooting > > I'm slowly stubbing things out in the stack trying to make the changes as minor as possible for now. Sure, btmon will be really useful. I didn't know about btmgmt and I didn't try bluetootctl much as it appears less CLI friendly (more interactive) but it appears to support registering a GATT server, which gattool does not support. Eventually it will be useful to have all these applications similar to Linux, but I'm hoping to use something simple to start with. I'm thinking I could use btsak as is for now, but start adapting bt_att.c which is the point of interface to l2cap functions so that it uses L2CAP sockets instead. Does this sound reasonable? I could use the simulator build with my BLE dongle and try to read characteristics from a GATT server on my smartphone. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
