Snap from .jar

Anyone please tel me how to use serial-port interface in snap.
If there is any example, it would be nice…