Hi all, long time listener, first time caller…
I recently (well, roughly 2 months ago, but shipping times from China are currently horrible) bought a TTGO T-Beam listed as v1.0, but received a v1.1 - which i won’t complain about, but which may complicate things?
Anyways, so i cobbled together a sketch in PlatformIO using various examples, and so far it’s working as expected, except that it doesn’t join TTN. Power management is fine, i get a GPS fix and somewhat realistic data, but i’ve wrecked my brain (and fingers) the last two nights trying to get the node to join. All i get is this, over and over:
94383: EV_JOINING 94484: engineUpdate, opmode=0xc 197237: engineUpdate, opmode=0xc 197278: EV_TXSTART 197356: TXMODE, freq=868100000, len=23, SF=7, BW=125, CR=4/5, IH=0 512972: setupRx1 txrxFlags 00 --> 01 start single rx: now-rxtime: 3 513604: RXMODE_SINGLE, freq=868100000, SF=7, BW=125, CR=4/5, IH=0 rxtimeout: entry: 514131 rxtime: 513596 entry-rxtime: 535 now-entry: 5 rxtime-txend: 312375 575472: setupRx2 txrxFlags 0x1 --> 02 start single rx: now-rxtime: 4 576104: RXMODE_SINGLE, freq=869525000, SF=9, BW=125, CR=4/5, IH=0 rxtimeout: entry: 577911 rxtime: 576096 entry-rxtime: 1815 now-entry: 4 rxtime-txend: 374875 577932: processRx2Jacc txrxFlags 0x2 --> 00 577980: EV_JOIN_TXCOMPLETE: no JoinAccept
I’m pretty sure i have the DevEUI, AppEUI and AppKey set up properly (LSB, LSB, MSB), but i’m not sure if incorrect provisioning would even cause this error?
Either way, here’s the sketch and a (sample) config file that contains the provision data in the format matching my real data: https://git.faked.org/jan/bikebeam/-/tree/master/src
I’m rather confident that the pinMap is correct, according to the schematics: https://github.com/Xinyuan-LilyGO/LilyGO-T-Beam/blob/master/schematic/LilyGo_TBeam_V1.1.pdf
Oh, also notable: I don’t have a gateway. But i live in the middle of Berlin, Germany, and according to the map for the community here, my flat is covered by over a dozen of gateways, so i’m assuming i don’t need to set one up to get started, right? (I probably will, later on.)
So yeah, if anybody can give me a hint of what i might be doing wrong, it would be greatly appreciated!