On top of CSP you would implement your Server or Client application.
Just like the examples found here:
https://github.com/GomSpace/libcsp/wiki/Client-and-server-example
Below CSP you should implement some kind of data-link interface. CSP
already contains definitions for I2C, KISS, CAN and Loopback.
If you need to implement another data-link interface, take a look at
this mini how to:
https://github.com/GomSpace/libcsp/wiki/Interfaces
Finally, if you wish to use one of the already implemented interfaces,
for example for I2C, the interfaces needs to have a physical driver
which it can use.
Take a look at the I2C interface file (csp_if_i2c.c) and locate the
i2c_send call for example, and write your own implementation of the
driver for your micro controller.
We might publicize the interface headers for I2C in the future, which
will make it a bit easier to see the prototypes you'll need to
implement.
Regards,
Johan.