Layers above or below the CSP

728 views
Skip to first unread message

ahmed

unread,
Feb 8, 2012, 4:56:37 AM2/8/12
to cubesat-space-protocol
I wanted to ask what layers should be implemented above and below the
CSP, I mean should I include a data link layer or not, could you
direct me through some documentations?
thank you

Johan (GomSpace)

unread,
Feb 8, 2012, 5:07:17 AM2/8/12
to cubesat-space-protocol
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.

ahmed

unread,
Feb 8, 2012, 6:36:13 AM2/8/12
to cubesat-space-protocol
So, can I implement CFDP above CSP?, I would also want to know the
similarities between both CSP and CCSDS.

On Feb 8, 12:07 pm, "Johan (GomSpace)" <johan.declavi...@gmail.com>
wrote:

Johan (GomSpace)

unread,
Feb 8, 2012, 6:45:13 AM2/8/12
to cubesat-space-protocol

On Feb 8, 12:36 pm, ahmed <ahmedo...@gmail.com> wrote:
> So, can I implement CFDP above CSP?, I would also want to know the
> similarities between both CSP and CCSDS.

Yes, that is possible.

CSP provides the equivalent of OSI layers 1, 2, 3 and optionally 4.

The CCSDS recommendations have different documents for each of these
layers.

The first layer is the physical layer:
CCSDS 131.0-B-2
TM Synchronization and Channel Coding.

The second layer is the data-link layer:
CCSDS 132.0-B-1
TM Space Data Link Protocol.

And the third layer is the network layer:
CCSDS 133.0-B-1
Space Packet Protocol.

The above publications can be found here:
http://public.ccsds.org/publications/SLS.aspx

CSP itself compares to the CCSDS 133.0 Space Packet Protocol
specification.
The CSP interface files, for example our NanoCom interface
specification for the radio link compares to both the CCSDS 132.0 and
CCSDS 131.0.

ahmed

unread,
Feb 8, 2012, 7:10:48 AM2/8/12
to cubesat-space-protocol
For implementation, is there any other way of understanding the
library other than, the .c and .h files?
I mean is there a documentation similar to CCSDS?

thank you so much

On Feb 8, 1:45 pm, "Johan (GomSpace)" <johan.declavi...@gmail.com>
wrote:

Johan (GomSpace)

unread,
Feb 8, 2012, 7:13:15 AM2/8/12
to cubesat-space-protocol
On Feb 8, 1:10 pm, ahmed <ahmedo...@gmail.com> wrote:
> For implementation, is there any other way of understanding the
> library other than, the .c and .h files?
> I mean is there a documentation similar to CCSDS?

The best way to learn CSP is to look at the example code and try it
out your self. We do have an older document which describes it
further, but since it is outdated, i would rather refer you to the
wiki in libcsp.org.

Regards,
Johan.
Reply all
Reply to author
Forward
0 new messages