Posts

Showing posts from January, 2018

ส่งความถี่เดียว LoRaWan

Credit:   arjanvanb Arjan https://www.thethingsnetwork.org/forum/t/can-lmic-1-6-be-set-up-to-use-a-single-channel-and-sf/5207/11 For 1.5, if one does not want to change the library, here is how one can make an ABP or OTAA sketch work with a single channel gateway and  Matthijs Kooijman’s LMiC 16 : Somewhere above  onEvent  define: // Define the single channel and data rate (SF) to use int channel = 0 ; int dr = DR_SF7; // Disables all channels, except for the one defined above, and sets the // data rate (SF). This only affects uplinks; for downlinks the default // channels or the configuration from the OTAA Join Accept are used. // // Not LoRaWAN compliant; FOR TESTING ONLY! // void forceTxSingleChannelDr () { for ( int i= 0 ; i< 9 ; i++) { // For EU; for US use i if (i != channel) { LMIC_disableChannel(i); } } // Set data rate (SF) and transmit power for uplink LMIC_setDrTxpow(dr, 14 ); } Fo...

บันทึกการเดินทาง กลุ่มโรงเรียน อมก๋อย แม่สะเรียง แม่ฮ่องสอน

วันที่ 12 แม่ลาน้อย  วันที่ 11 โรงเรียนบ้านโพซอ โรงเรียนแม่สะเรียง  วันที่ 10 มกราคม 2561 โรงเรียนเฉลิมรัช และสบเมย