Hi Ivan,

Normally using external BLE modules that follows the HCI H4 is easier
than porting to some chip with internal BLE and application in the
same chip.

You can see how it is done in the sim and also here:

boards/arm/stm32/stm32f4discovery/src/stm32_hciuart.c

BR,

Alan

On 10/13/22, Embedded Systems <ivanucherdj...@gmail.com> wrote:
> Hello Alan,
>
> Its good to hear from you too.
>
> So, you don't to flash NuttX inside Anna-B112, but just want to use it
> as external BT BLE module, right?
>
> The Anna module is flashed with u-blox connect and we are using it as
> external ble module, the module has the whole ble stack embedded in the
> u-box connect and is controlled via AT commands, thats why i am not sure
> how exactly to port it for Nuttx in a suitable way.
>
> Best regars,
> Ivan ucherdzhiev
>
>
> На чт, 13.10.2022 г., 18:31 Alan C. Assis <acas...@gmail.com> написа:
>
>> Hi Ivan,
>>
>> Nice to hear news from you!
>>
>> So, you don't to flash NuttX inside Anna-B112, but just want to use it
>> as external BT BLE module, right?
>>
>> In this case you need to enable the "Bluetooth H4 UART"
>>
>> There are some examples on NuttX about how to use it.
>>
>> Also you can opt for using NuttX internal BLE Stack (that derives from
>> an old BLE Stack that Intel integrated on Zephyr and that was released
>> for Arduino/Genuino under BSD License) or you can use the NimBLE stack
>> that is more complete and also have examples on NuttX.
>>
>> Using the internal stack could be more challenging, but it will help
>> to improve our own stack.
>>
>> BR,
>>
>> Alan
>>
>> On 10/13/22, Embedded Systems <ivanucherdj...@gmail.com> wrote:
>> > Hello Nuttx Community,
>> >
>> > First i would like to say that i really hope that everybody is doing
>> well!
>> > I am sorry that long time i didn't had a chance to contribute anything,
>> but
>> > life is moving in a very fast pace for me lately.
>> >
>> > For our sport Wearable system i am working on integration of a
>> > Bluetooth
>> > module Anna-B112, it is a very interesting small module. The version
>> which
>> > we are using is preflashed with Ublox u-connect software and the module
>> is
>> > based on nRF52832 nordic chip. I would like to ask for advice on how
>> > exactly to implement a relevant support for this to suit Nuttx
>> architecture
>> > because i wish to contribute this port when its done. I am familiar
>> > that
>> > Nuttx has Bluetooth stack and also support for HCI bluetooth modules,
>> > but
>> > the difference here is that ANNA-B112 has its stack embedder in the
>> nordic
>> > chip and the module is controlled via AT commands through UART, so i am
>> not
>> > exactly sure how to implement the driver for this module. To me it
>> > looks
>> > like it has to bypass the nuttx bluetooth stack (because it already has
>> an
>> > embedded one) and directly connect to the application layer, please
>> correct
>> > me if i am wrong here.
>> >
>> > I would really appreciate some insight of how exactly to implement the
>> port
>> > to suit Nuttx design and to NOT disrupt in any way the already existing
>> > implementations of bluetooth connectivity
>> >
>> > Thank you in advance!
>> >
>> > --
>> > Kind regards,
>> > Ivan Ucherdzhiev
>> >
>> > CTO @ Barin Sports
>> > Bulgaria
>> >
>>
>

Reply via email to