Re: defining a BLE GATT server

2020-08-23 Thread Brennan Ashton
On Sun, Aug 23, 2020, 8:45 PM Matias N. wrote: > Hi Brennan, > > Yes, as I understand the host layer is actually from (early?) Zephyr code. > > The way you suggest it should be done sounds very reasonable. However I > wonder if this is > always the right approach. Right now the HCI layer is using

Re: defining a BLE GATT server

2020-08-23 Thread Matias N.
Hi Brennan, Yes, as I understand the host layer is actually from (early?) Zephyr code. The way you suggest it should be done sounds very reasonable. However I wonder if this is always the right approach. Right now the HCI layer is using work queues to handle communication with different priori

Re: defining a BLE GATT server

2020-08-23 Thread Brennan Ashton
Personally I think the abstraction is in the wrong place. In most systems including Linux you provide HCI, L2CAP and RFCOMM sockets from the kernel, then all the GATT and connection management logic is moved into a daemon that runs in user space. Some devices do not exposed HCI so the kernel implem

defining a BLE GATT server

2020-08-23 Thread Matias N.
Hi, I'm continuing work on BLE on the NRF52832 and I would like to instantiate a GATT server (to eventually provide HID over GATT for providing a bluetooth mouse). Looking at the upper layers of BLE in NuttX you can see that it ends up in a network device which exposes different functionality v

Re: Telnet: up arrow key in putty returns ^[[A

2020-08-23 Thread Oleg Evseev
You are right! Great thanks! сб, 22 авг. 2020 г. в 02:59, Abdelatif Guettouche < abdelatif.guettou...@gmail.com>: > You must be missing CONFIG_TELNET_CHARACTER_MODE > > On Sun, Aug 16, 2020 at 3:32 PM Oleg Evseev wrote: > > > > Hi Alan, > > > > I can open an issue, but I can't check the latest N