Sending Non IP data messages

Can anyone share information on what is required for sending and receiving Non IP messages.

The modem I’m using requires the commands:
AT+CGDCONT - to setup a NON IP PDP context
AT+CSODCP - to send data using the PDP context

What I don’t understand is where is the data being received?

Has anyone done this?

Thanks,
Phil