Epson TM-m30II Technical Reference Guide TM-m30II-N - Page 125

Starting and stopping, low energy technology Advertising, Device address specifications - nt

Page 125 highlights

Appendix Starting and stopping Bluetooth low energy technology Advertising Format: cmd 0x08 0x000A n Function: Starting and stopping transmission of the Advertising packet. Parameter n Length Function 00 2 characters Advertising stop 01 2 characters Advertising start When specifying a start point, make sure you start Advertising using this command before "Bluetooth low energy technology Advertising Packet specifications" on page 126. Device address specifications Format: cmd 0x08 0x0005 n6 n5 n4 n3 n2 n1 Function: Specify a BD Address. Specify a value in Little Endian. As a Random Static Address is used in TM-m30II-NT, bit7 and bit6 for n1 need to be set to 1. Bluetooth low energy technology Advertising parameter specifications Format: cmd 0x08 0x0006 aL aH bL bH c d e f1 f2 f3 f4 f5 f6 g h Function: Sets a variety of parameters for the Advertising packet. Definition Length Default Description Min advertising Interval Max advertising Interval Advertising type Own address type Peer address type Peer address Advertising channel map Advertising filter policy 2 bytes 2 bytes 1 bytes 1 bytes 1 bytes 6 bytes 1 bytes 1 bytes aL: a0 aH: 00 bL: a0 bH: 00 c: 03 d: 01 e: 00 f1-f6: 00 g: 07 h: 02 00a0h * 0.625 = 100ms Period 00a0h is the minimum that can be specified. 00a0h * 0.625 = 100ms Period 00a0h is the minimum that can be specified. 03h: ADD_NONCONN_IND 01h: random device address 00h: public device address No use 07h: All channel enabled 02h: Process scan requests from all devices and only connection requests from devices that are in the White List. See the Bluetooth specifications for details. 125

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129

125
Appendix
Starting and stopping
Bluetooth
low energy technology Advertising
Format: cmd 0x08 0x000A n
Function: Starting and stopping transmission of the Advertising packet.
Device address specifications
Format: cmd 0x08 0x0005 n6 n5 n4 n3 n2 n1
Function: Specify a BD Address. Specify a value in Little Endian.
Bluetooth
low energy technology Advertising parameter specifications
Format: cmd 0x08 0x0006 aL aH bL bH c d e f1 f2 f3 f4 f5 f6 g h
Function: Sets a variety of parameters for the Advertising packet.
See the
Bluetooth
specifications for details.
Parameter n
Length
Function
00
2 characters
Advertising stop
01
2 characters
Advertising start
When specifying a start point, make sure you start Advertising using this command before
"Bluetooth
low energy technology Advertising Packet specifications" on page 126
.
As a Random Static Address is used in TM-m30II-NT, bit7 and bit6 for n1 need to be set to 1.
Definition
Length
Default
Description
Min advertising Interval
2 bytes
aL: a0
aH: 00
00a0h * 0.625 = 100ms Period
00a0h is the minimum that can be
specified.
Max advertising Interval
2 bytes
bL: a0
bH: 00
00a0h * 0.625 = 100ms Period
00a0h is the minimum that can be
specified.
Advertising type
1 bytes
c: 03
03h: ADD_NONCONN_IND
Own address type
1 bytes
d: 01
01h: random device address
Peer address type
1 bytes
e: 00
00h: public device address
Peer address
6 bytes
f1-f6: 00
No use
Advertising channel map
1 bytes
g: 07
07h: All channel enabled
Advertising filter policy
1 bytes
h: 02
02h: Process scan requests from all
devices and only connection requests
from devices that are in the White List.