maxmim bytes can be send and how to see log in otaa #744
Replies: 3 comments
-
It's hard to answer/track multiple questions in one ticket.
Best regards, |
Beta Was this translation helpful? Give feedback.
-
These are questions rather than bugs; moving to discussion. |
Beta Was this translation helpful? Give feedback.
-
Take a look at the LoRaWAN 1.0.3 Regional Parameters, you should find the answer for the maximum byte for payload For your Q2, POWERON_RESET is an ESP32 related message, which means your device is being reset through a power-on event. Consider asking for help in ESP's forum. But the code in LMIC should not be able to generate this event, check your pin and board for any issue. I am using ESP32 on AS923 with OTAA without any issue. So maybe your own code is the culprit of the issue. It is always recommended to check if you successfully send something in the gateway's log, this helps you identify if it is a network side issue (TTN connection) or local issue (between the gateway and your device). If you do not have access (using a public gateway), buying your own is very useful for development. You can use |
Beta Was this translation helpful? Give feedback.
-
hello,
1)i am using IN865 for this only three channels(0,1,2) have enabled in LMIC how can i able all the 8 channels for IN865?
now my data can be sent in 3 channels only i want to use all my channels?
static CONST_TABLE(u4_t, iniChannelFreq)[NUM_DEFAULT_CHANNELS] = {
// Default operational frequencies
IN866_F1 | BAND_MILLI,
IN866_F2 | BAND_MILLI,
IN866_F3 | BAND_MILLI,
IN866_F4 | BAND_MILLI,
IN866_F5 | BAND_MILLI,
IN866_F6| BAND_MILLI,
IN866_F7 | BAND_MILLI,
};
enum {
IN866_F1 = 865062500, // SF7-12 (DR0-5)
IN866_F2 = 865402500, // SF7-12 (DR0-5)
IN866_F3 = 865985000, // SF7-12 (DR0-5)
IN866_F4 = 866000000, // SF7-12 (DR0-5)
IN866_F5 = 866200000, // SF7-12 (DR0-5)
IN866_F6 = 866400000, // SF7-12 (DR0-5)
IN866_F7 = 866600000, // SF7-12 (DR0-5)
IN866_F8 = 868800000, // SF7-12 (DR0-5)
IN866_FB = 866550000, // beacon/ping
};
i have done these changes and i also enabled all the changes in my gateway
2)then i want see the complete log in ota mode i have included this in my project_config #define LMIC_DEBUG_LEVEL 2 but that did nt help in otaa mode i could not see anything other than this
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6388
entry 0x400806b4
but i apb mode i can see when my packets queued and also my downlink data in the console .how can i see that in ota mode too?
thanks and regards
manikandan v
Environment
This information is very important; it's hard to help without a complete set of answers.
Beta Was this translation helpful? Give feedback.
All reactions