Functions
Functions
BLE Services » FAST_OTA Service (FAST_OTAS)

## Functions
sdk_err_t | fast_otas_service_init (fast_otas_init_t *p_otas_init)
| Add an FAST_OTA Service instance in the DB. More...
sdk_err_t | fast_otas_notify_cmd_data (uint8_t conn_idx, uint8_t *p_data, uint16_t length)
| Send data to peer device. More...

## Detailed Description

## Function Documentation

## ◆ fast_otas_notify_cmd_data()

sdk_err_t fast_otas_notify_cmd_data | ( | uint8_t | conn_idx,
|  | uint8_t * | p_data,
|  | uint16_t | length
| ) |  |

Send data to peer device.

Parameters

  [in] | conn_idx | Connection index
  [in] | p_data | The Pointer of send value
  [in] | length | The Lenth of send value

Returns
  Result of notify and indicate value

## ◆ fast_otas_service_init()

sdk_err_t fast_otas_service_init | ( | fast_otas_init_t * | p_otas_init | ) |

Add an FAST_OTA Service instance in the DB.

Parameters

  [in] | p_otas_init | :Pointer to FAST_OTA Service environment variable

Returns
  Result of service initialization.