This function sets the PIN code for Bluetooth communication settings.

Syntax

int BltSetPincode(
  const char *pincode
);

Parameters

pincode
[in] Specify the PIN code to use when connecting.
(Maximum 16-digit character string)

Return value

The function returns a successful setting (OK) or a failure (ERROR).
ValueDescription
OK Setting succeed.
ERROR Setting failed.

Remarks

Sets the PIN code.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/10/07