Syntax
typedef volatile struct
{
char address[BLT_BD_ADDR_LEN+1];
char pincode[BLT_MAX_PINCODE_LEN+1];
char classOfDevice[BLT_CLASS_OF_DEVICE_LEN+1];
unsigned int encryption;
enum BLT_AUTHENTICATION authentication;
unsigned short sppInterCharDelay;
unsigned short hidInterCharDelay;
unsigned char language;
unsigned char dynamicPIN;
enum IPHONE_MODE iPhoneMode;
unsigned char erasePairedDevice;
unsigned char pairedDeviceConnect;
IO_CAPABILITY_REQUEST ioCapability;
enum CHARACTER_CODE_KIND characterCode;
enum UPPER_ASCII_OUT_MODE upperAsciiOutMode;
char altCharacterHeader[1];
unsigned char cradleMode;
char passkey[BLT_MAX_PASSKEY_LEN+1];
enum MULTI_BYTE_TRANSMIT_MODE hidMultiByteTransmitMode;
unsigned int keyboardLfOutput;
unsigned int output_code;
unsigned int caps_mode;
unsigned int num_mode;
unsigned int gr_fr_kb;
} setconfig_bluetooth;
Members
- address
-
Remote address.
Specify the BD address of the connection destination. - pincode
-
PIN code.
Specify the PIN code when connecting.
(Default:"1234") - classOfDevice
- Spare member.
- encryption
- Spare member.
- authentication
- Spare member.
- sppInterCharDelay
-
Specify one of the following values for the delay between SPP transmissions.
Value Description BLT_SPP_INTER_DELAY1_NO None(Default) BLT_SPP_INTER_DELAY1_20 20 ms BLT_SPP_INTER_DELAY1_50 50 ms BLT_SPP_INTER_DELAY1_100 100 ms
- hidInterCharDelay
-
Specify one of the following values for the delay between HID transmissions.
Value Description BLT_INTER_DELAY1_NO None BLT_INTER_DELAY1_1 10 ms BLT_INTER_DELAY1_2 20 ms(Default) BLT_INTER_DELAY1_3 30 ms BLT_INTER_DELAY1_4 40 ms BLT_INTER_DELAY1_5 50 ms BLT_INTER_DELAY1_6 60 ms BLT_INTER_DELAY1_7 70 ms BLT_INTER_DELAY1_8 80 ms BLT_INTER_DELAY1_9 90 ms BLT_INTER_DELAY1_10 100 ms BLT_INTER_DELAY1_11 150 ms BLT_INTER_DELAY1_12 200 ms BLT_INTER_DELAY1_13 250 ms BLT_INTER_DELAY1_14 300 ms BLT_INTER_DELAY1_15 350 ms BLT_INTER_DELAY1_16 400 ms BLT_INTER_DELAY1_17 450 ms BLT_INTER_DELAY1_18 500 ms BLT_INTER_DELAY1_19 550 ms BLT_INTER_DELAY1_20 600 ms - language
- Spare member.
- dynamicPIN
- Spare member.
- iPhoneMode
-
Specify the iPhone mode with one of the following values.
Value Description DISABLE_IPHONE_MODE Disable iPhone Mode(Default) ENABLE_IPHONE_MODE_SPP_MASTER Enable iPhone Mode SPP Master ENABLE_IPHONE_MODE_SPP_SLAVE Enable iPhone Mode SPP Slave ENABLE_IPHONE_MODE_HID Enable iPhone Mode HID - erasePairedDevice
-
Specify the deletion of pairing information with one of the following values.
Value Description DISABLE Disable(Default) ENABLE Enable - pairedDeviceConnect
-
Specify one of the following values for the connection operation from the Slave side.
Value Description DISABLE Disable(Default) ENABLE Enable - ioCapability
-
Specify whether to use the existing pairing information when connecting from the Slave side with one of the following values.
Value Description IO_CAP_DISPLAY_ONLY Display only. IO_CAP_DISPLAY_YES_NO Display YES/NO IO_CAP_NO_INPUT_NO_OUTPUT. NO IO.(Default) IO_REJECT_REQUES Use this to reject the IO capability request. - characterCode
-
Specify the character code of the Bluetooth HID output mode with one of the following values.
Value Description NOT_USE_MULTI_BYTE Not use. WINDOWS_MULTI_BYTE WINDOWS. SHIFT_JIS_MULTI_BYTE SHIFT_JIS(Default) GB18030_MULTI_BYTE GB18030 BIG5_MULTI_BYTE BIG5 UHC_MULTI_BYTE UHC UTF8_MULTI_BYTE UTF8 UTF16_MULTI_BYTE UTF16 UTF16LE_MULTI_BYTE UTF16LE UTF16BE_MULTI_BYTE UTF16BE - upperAsciiOutMode
-
Specify the Kanji code output mode of the Bluetooth HID output mode with one of the following values.
Value Description OUTMODE_NORMAL Output as it is without judging the kanji. OUTMODE_ONLY_LOW_ASCII No output after 0x80. OUTMODE_NOT_OUT_KANJI Judges kanji and does not output if it is kanji. OUTMODE_KANJI_MODE_MOST Outputs the Kanji code. OUTMODE_KANJI_MODE_NUMPAD Outputs the numpad numeric.(Default) - altCharacterHeader
-
Specifies the HID header character.
(Default:'L') - cradleMode
- Spare member.
- passkey
-
Specify the passkey.
(Default:"1234") - hidMultiByteTransmitMode
- Spare member.
- keyboardLfOutput
- Spare member.
- output_code
- Spare member.
- caps_mode
- Spare member.
- num_mode
- Spare member.
- gr_fr_kb
- Spare member.
Remarks
(Note)
Items for spare members are not supported.
Please do not change.
Items for spare members are not supported.
Please do not change.
Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
See also
Last updated: 2020/10/16