Larger custom_data field to allow more custom data to be sent from device

Custom data can be longer than 255 chars and so it is wiser to use TEXT as the field type (otherwise the serialized data will be truncated and thus corrupted)