Nordic socket interface internal functions and structures. More...
Data Structures |
|
| struct | socket_params_t |
|
Create parameters for a socket.
More...
|
|
| struct | socket_t |
|
The state associated with a socket handle.
More...
|
|
Macros |
|
| #define | AF_NRF_CFG_INTERNAL 41 |
Enumerations |
|
| enum |
socket_state_t
{
STATE_CLOSED = 0, STATE_OPEN , STATE_CONNECTED } |
|
Different states a socket can be in.
More...
|
|
Functions |
|
| uint32_t | socket_init (void) |
|
Function for initializing the socket API module.
More...
|
|
| uint32_t | socket_wait (void) |
|
Waiting function for sockets.
More...
|
|
Detailed Description
Nordic socket interface internal functions and structures.
Macro Definition Documentation
| #define AF_NRF_CFG_INTERNAL 41 |
Socket family type, internal NRF configuration socket.
Enumeration Type Documentation
| enum socket_state_t |
Function Documentation
| uint32_t socket_init | ( | void | ) |
Function for initializing the socket API module.
- Returns
- NRF_SUCCESS on success, otherwise error code is returned.
| uint32_t socket_wait | ( | void | ) |
Waiting function for sockets.
Must be implemented by specific modules such as BLEs.
- Returns
- NRF_SUCCESS on success, otherwise error code is returned.