I develop a gadget, and all function is work.
Now, I am checking two gadget(same Amazon ID) connect to the same echo.
example:
1. 1st gadget name GADGET79 connect to echo
2. check Alexa app GADGET79 is paired
3. 2nd gadget name GADGET80 connect to echo
4. check Alexa app only GADGET80 is paired, and GADGET79 disappear.
5. Alexa skill endpoint only found GADGET80
Why can't connect one more gadget on the same echo?
The following log is what I response when handshake.
[00:00:02.409,423] <info> app: <<<<< Message from Echo -> Gadget
[00:00:02.409,423] <debug> app: New Rx Transaction [1] :: Stream [0]
[00:00:02.409,484] <debug> app: Rx Progress [2/2] :: Stream [0] :: Transaction [1]
[00:00:02.409,545] <debug> app: Creating response: Command_GET_DEVICE_INFORMATION
[00:00:02.409,973] <debug> app: New Tx Transaction [0] :: Stream [0]
[00:00:02.410,034] <debug> app: Tx Progress [44/44] :: Stream [0] :: Transaction [0]
[00:00:02.410,034] <debug> app:
[00:00:02.410,034] <info> app: >>>>> Response from Gadget -> Echo
[00:00:02.410,034] <debug> app: New Rx Transaction [0] :: Stream [0]
[00:00:02.410,034] <debug> app: Rx Progress [44/44] :: Stream [0] :: Transaction [0]
[00:00:02.410,217] <debug> app: Inside handleReceivedResponse
[00:00:02.410,217] <debug> app: Received response for command: Command_GET_DEVICE_INFORMATION
[00:00:02.410,217] <debug> app: Inside handleDeviceInformationReceived
[00:00:02.410,217] <debug> app: Device Information is:
[00:00:02.410,278] <debug> app: Serial number: 98C08579
[00:00:02.410,278] <debug> app: Name: GADGET79
[00:00:02.410,278] <debug> app: Device type: AE8D4CJ******
[00:00:02.410,278] <debug> app: Num transports: 1
[00:00:02.410,278] <debug> app: transport[0]: 0
[00:00:02.410,278] <debug> app:
[00:00:02.410,278] <debug> app:
[00:00:02.484,436] <info> app: <<<<< Message from Echo -> Gadget
[00:00:02.484,436] <debug> app: New Rx Transaction [2] :: Stream [0]
[00:00:02.484,497] <debug> app: Rx Progress [2/2] :: Stream [0] :: Transaction [2]
[00:00:02.484,497] <debug> app: Creating response: Command_GET_DEVICE_FEATURES
[00:00:02.484,741] <debug> app: New Tx Transaction [1] :: Stream [0]
[00:00:02.484,741] <debug> app: Tx Progress [9/9] :: Stream [0] :: Transaction [1]
[00:00:02.484,802] <debug> app:
[00:00:02.484,802] <info> app: >>>>> Response from Gadget -> Echo
[00:00:02.484,802] <debug> app: New Rx Transaction [1] :: Stream [0]
[00:00:02.484,802] <debug> app: Rx Progress [9/9] :: Stream [0] :: Transaction [1]
[00:00:02.485,046] <debug> app: Inside handleReceivedResponse
[00:00:02.485,107] <debug> app: Received response for command: Command_GET_DEVICE_FEATURES
[00:00:02.485,107] <debug> app: Inside handleDeviceFeaturesReceived
[00:00:02.485,107] <debug> app: Device Features are:
[00:00:02.485,107] <debug> app: features : 19
[00:00:02.485,168] <debug> app: attributes :
[00:00:02.485,168] <debug> app:
[00:00:02.485,168] <debug> app:
[00:00:03.047,546] <info> app: <<<<< Message from Echo -> Gadget
[00:00:03.047,607] <debug> app: New Rx Transaction [14] :: Stream [6]
[00:00:03.047,607] <debug> app: Rx Progress [31/31] :: Stream [6] :: Transaction [14]
[00:00:03.047,607] <debug> app: Received directive:
[00:00:03.047,729] <debug> app: Header:
[00:00:03.047,729] <debug> app: namespace=Alexa.Discovery
[00:00:03.047,790] <debug> app: name=Discover
[00:00:03.047,851] <debug> app: messageId=
[00:00:03.047,851] <debug> app: dialogRequestId=
[00:00:03.047,851] <debug> app: Payload:
[00:00:03.047,973] <debug> app: scope type:
[00:00:03.047,973] <debug> app: scope token:
[00:00:03.047,973] <debug> app: Creating discover response event:
[00:00:03.049,499] <debug> app: sd_ble_gap_addr_get(): err_code=0x0000
[00:00:03.050,781] <debug> app: bytes written:321
[00:00:03.050,842] <debug> app: New Tx Transaction [0] :: Stream [6]
[00:00:03.050,842] <debug> app: Tx Progress [321/321] :: Stream [6] :: Transaction [0]
[00:00:03.050,842] <debug> app:
[00:00:03.050,903] <info> app: >>>>> Response from Gadget -> Echo
[00:00:03.050,903] <debug> app: New Rx Transaction [0] :: Stream [6]
[00:00:03.050,903] <debug> app: Rx Progress [321/321] :: Stream [6] :: Transaction [0]
[00:00:03.050,903] <debug> app: Parsing Event:
[00:00:03.051,086] <debug> app: name = Discover.Response, namespace=Alexa.Discovery
[00:00:03.053,039] <debug> app: endpoint count : 1
[00:00:03.053,100] <debug> app: endpoint id: AE8D4CJ******
[00:00:03.053,100] <debug> app: friendly name: GADGET79
[00:00:03.053,100] <debug> app: description: Device Description
[00:00:03.053,100] <debug> app: manufacturer name: MANUFACUTRE
[00:00:03.053,161] <debug> app: capability type: AlexaInterface
[00:00:03.053,161] <debug> app: capability interface: Alexa.Gadget.StateListener
[00:00:03.053,161] <debug> app: capability version: 1.0
[00:00:03.053,161] <debug> app: supportedTypes name: timeinfo
[00:00:03.053,161] <debug> app: capability type: AlexaInterface
[00:00:03.053,222] <debug> app: capability interface: Custom.******
[00:00:03.053,222] <debug> app: capability version: 1.0
[00:00:03.053,222] <debug> app: additional id - firmware version: 1
[00:00:03.053,222] <debug> app: additional id - device token: 2967ebc2d7d515ac8c7ecb2a8bff58dd8c9833682cf3e0028e4b162902******
[00:00:03.053,222] <debug> app: additional id - device token encryption type: 1
[00:00:03.053,283] <debug> app: additional id - amazon device type: AE8D4CJ******
[00:00:03.053,283] <debug> app: additional id - model name: GADGET
[00:00:03.053,283] <debug> app: additional id - radioAddress: EC4C98C08579