Commit 05737617 authored by Orne Brocaar's avatar Orne Brocaar
Browse files

Fix GWInfo ID to 32 bit value.

parent f39be0e3
......@@ -193,7 +193,7 @@ func (ts *PassiveRoamingFNSTestSuite) TestJoinRequest() {
DataRate2: &dataRate2,
GWInfo: []backend.GWInfoElement{
{
ID: backend.HEXBytes(ts.Gateway.GatewayID[:]),
ID: backend.HEXBytes(ts.Gateway.GatewayID[4:]),
ULToken: backend.HEXBytes(ulTokenB),
},
},
......@@ -280,7 +280,7 @@ func (ts *PassiveRoamingFNSTestSuite) TestJoinRequest() {
GWCnt: &gwCnt,
GWInfo: []backend.GWInfoElement{
{
ID: backend.HEXBytes(ts.Gateway.GatewayID[:]),
ID: backend.HEXBytes(ts.Gateway.GatewayID[4:]),
RSSI: &rssi,
SNR: &snr,
Lat: &lat,
......@@ -445,7 +445,7 @@ func (ts *PassiveRoamingFNSTestSuite) TestDataStateless() {
GWCnt: &gwCnt,
GWInfo: []backend.GWInfoElement{
{
ID: backend.HEXBytes(ts.Gateway.GatewayID[:]),
ID: backend.HEXBytes(ts.Gateway.GatewayID[4:]),
RSSI: &rssi,
SNR: &snr,
Lat: &lat,
......@@ -563,7 +563,7 @@ func (ts *PassiveRoamingFNSTestSuite) TestDataStatefull() {
GWCnt: &gwCnt,
GWInfo: []backend.GWInfoElement{
{
ID: backend.HEXBytes(ts.Gateway.GatewayID[:]),
ID: backend.HEXBytes(ts.Gateway.GatewayID[4:]),
RSSI: &rssi,
SNR: &snr,
Lat: &lat,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment