tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/examples/lora/lorawan/basic-demo/keys-default.go (about) 1 //go:build !customkeys 2 3 package main 4 5 import ( 6 "tinygo.org/x/drivers/lora/lorawan" 7 ) 8 9 // These are sample keys, so the example builds 10 // Either change here, or create a new go file and use customkeys build tag 11 func setLorawanKeys() { 12 otaa.SetAppEUI([]uint8{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}) 13 otaa.SetDevEUI([]uint8{0xB3, 0xD5, 0x41, 0x00, 0x0A, 0xF1, 0xA4, 0x45}) 14 otaa.SetAppKey([]uint8{0x12, 0x22, 0xA3, 0xFF, 0x0C, 0x7B, 0x76, 0x7B, 0x8F, 0xD3, 0x12, 0x4F, 0xCE, 0x7A, 0x32, 0x16}) 15 lorawan.SetPublicNetwork(true) 16 17 }