[−][src]Function openthread_sys::otPlatBleGapServiceSet
pub unsafe extern "C" fn otPlatBleGapServiceSet(
aInstance: *mut otInstance,
aDeviceName: *const c_char,
aAppearance: u16
) -> otError
Sets BLE device name and appearance that is visible as GATT Based service.
The BLE Host stack should set the security mode 1, level 1 (no security) for those characteristics.
@param[in] aInstance The OpenThread instance structure. @param[in] aDeviceName A pointer to device name string (null terminated). Shall not exceed OT_BLE_DEV_NAME_MAX_LENGTH. @param[in] aAppearance The value of appearance characteristic.
@retval ::OT_ERROR_NONE Connection parameters have been successfully set. @retval ::OT_ERROR_INVALID_ARGS Invalid parameters has been supplied.