Trying to connect to ttn network

Do you have an example that works?

hi,

here is code for cubecell: