Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func M2mApiDlPktSent ¶
func SelectSenderGateway ¶
func SelectSenderGateway(devEui lorawan.EUI64, deviceGatewayRXInfo []storage.DeviceGatewayRXInfo) (reorderedDeviceGatewayRXInfo storage.DeviceGatewayRXInfo, err error)
Select which gateway should send the downlink packet (will put in reorderedDeviceGatewayRXInfo) A gateway from the Free gateways for the device (dvUsageModeRes.FreeGwMac) will be used preferebly If there is no free gateway in the list of gateways receive the uplink (deviceGatewayRXInfo), ... ... and the device is enable and willing to pay, a gateway from another org will be able to send the downlink
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.