Skip to content

C1: ABP data sending issue #2

Description

@tbrlek

When using ABP, the device sometimes sends data, and sometimes does not. There is no repeatability and reproducibility currenty known.

Sometimes it sends few times and then stops sending. Sometimes it is not sending and starts sending after a while and stops again.

Keys were replaced with 0x00.

LoRaWAN_keys_t TTN_ABP_keys = {
	.KeyType 						= ABP_10x_key,
	.PublicNetwork					= true,
	.ABP_10x.DevEui					= thisDevEUI,
	.ABP_10x.DevAddr 				= 0x00000000,
	.ABP_10x.NwkSkey				= {{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }},
	.ABP_10x.AppSkey				= {{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }}
};
coreConfiguration_t	coreConfig = {
	.Join.KeysPtr = 		&TTN_ABP_keys,
	.Join.DataRate =		DR_AUTO,
	.Join.Power =			PWR_MAX,
	.Join.MAXTries = 		100,
    .Join.SubBand_1st =     EU_SUB_BANDS_DEFAULT,
	.Join.SubBand_2nd =     EU_SUB_BANDS_DEFAULT,
	.TX.Confirmed = 		false,
	.TX.DataRate = 			DR_ADR,
	.TX.Power = 			PWR_MAX,
	.TX.FPort = 			1, 
	.System.Idle.Mode = 	M0_DeepSleep,
	.System.Idle.BleEcoON = false,
	.System.Idle.DebugON  = true,
	.RX.Boost			  = false,
};

All other code is same as OnethinxCreator_HelloWorld

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions