The data rate and maximum packet size for the application payload roughly depend on the distance to the nearest gateway and the type of data to be sent, and are also defined in the specification for each region.
For the European 863-870MHz band, the application packet size varies between 51 bytes for the slowest data rate, and 222 bytes for faster rates.
Beware that the LoRaWAN protocol adds at least 13 bytes to the application payload.
To facilitate your LoRa project, we have created a LoRAWAN library which takes of the data rate and constructing the application payload and converting back the payload message into understandable information for AllThingsTalk Maker. The LoRaWAN library supports a container structure for various type of sensors to make it easy for you to write your first programs.
A simple instruction such as Device.Send(val, LOUDNESS_SENSOR); will send data towards AllThinsgTalk Maker representing data for a loudness sensor.
More information about the container structure can be found here.
To visualize the sensor data in an asset, specify the container number in the Name field when creating the asset.