| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
UM1870 Datasheet(PDF) 32 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1870 Datasheet(HTML) 32 Page - STMicroelectronics |
|
32 / 58 page ![]() Programming with BlueNRG-MS network processor UM1870 32/58 DocID027602 Rev 1 4 Programming with BlueNRG-MS network processor The BlueNRG-MS provides a high level interface to control its operation. This interface is called ACI (application-controller interface). The ACI is implemented as an extension to the standard Bluetooth HCI interface. Since BlueNRG-MS is a network processor, the stack runs inside the device itself. Hence, no library is required on the external microcontroller, except for profiles and all the functions needed to communicate with the BlueNRG-MS SPI interface. The development kit software includes sample code that shows how to configure BlueNRG- MS and send commands or parsing events. The source library is called simple BlueNRG- MS HCI to distinguish it from the library for the complete profile framework (not present in the software development kit). This library is able to handle multiple profiles at the same time and supports several Bluetooth GATT-based profiles for BlueNRG-MS. Documentation on the ACI is provided in a separate document. Figure 12. Profile framework structure 4.1 Requirements In order to communicate with BlueNRG-MS network processor very few resources are needed by the main processor. These are listed below: – SPI interface – Platform-dependent code to write/read to/from SPI – A timer to handle SPI timeouts or to run Bluetooth LE Profiles Minimum requirements in terms of Flash and RAM space largely depend on the functionality needed by the application, on the microprocessor that will run the code and on the compiler toolchain used to build the firmware. 4.2 Software directory structure The Project folder contains some sample code that can be used on the application processor to control the BlueNRG-MS. Platform-dependent code is also provided for STM32L1 platforms. The example project provided in the package will run “as is” on the development kit. The files are organized using the following folder structure: – Bluetooth LE. Contains the code that is used to send ACI commands to the BlueNRG-MS network processor. It contains also definitions of BlueNRG-MS events. – platform. Contains all the platform-dependent files. These can be taken as an example to build applications that can be run on other platforms. – Project. Contains source code that can be used as an example to build other applications that will use the Bluetooth technology with the BlueNRG-MS. Project files for IAR embedded workbench are also available. Proximity FindMe HOGP ... ... ... Basic profile framework |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |