NRF provides APIs for almost every task and this is extensively documented. This format is just to show how the API takes the details, but in the real-world each and every information a user enters is highly encrypted. SendCardData (cardNum, expDate, CCV, holderName) The API format will look something like this, Once payment is confirmed, the remote application sends a response back to the app saying, payment is verified and continues to issue the tickets. API (Application Program Interface):Īn API is a software intermediary that allows two applications to communicate with each other.Įx: When you are using a movie booking app, and are asked to enter your credit card information, the app uses an API to send your credit card information to a remote application that verifies if the information is correct or not. Available in multiple variants, if your project uses BLE then you will have to program the Soft Device to your NRF. It includes code for all the low-level BLE Tasks like – BLE scanning, maintaining connections, data transfers, etc. Soft Device is the low-level code required by every Nordic NRF IC for Bluetooth Communication. You can directly use them in your application or keep them as a reference. The SDK has numerous example programs that users can use to get started. This section in the SDK explains how to program the NRF as a peripheral device. Peripheral is the Slave/Device (ex: nrf52 Board): – The BLE device which accepts an incoming connection request after broadcasting. This section in the SDK explains how to program the NRF as a central device. Nordic SDK has example programs for these applications:Ĭentral is the Master/Device (ex: Smartphone): – The BLE device which initiates an outgoing connection request to a broadcasting peripheral device. Nordics SDK includes – APIs for BLE Tasks, APIs for using MCU Peripherals (UART, TWI, GPIO, etc.), Development Tools (compilers, libraries, etc.), Example programs, etc. Nordic SDK is very extensive and provides everything you need to use their NRF ICs. Image source: NRF5 SDK (Software Development Kit)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |