Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
2Activity

Table Of Contents

Overview
All SNAP Nodes:
Why run SNAP on a PC? Typical applications are:
How does my PC know what SNAP Address it should use?
It’s a Standalone Application. It’s a Software Library. It’s both!
Are languages other than Python supported?
Introducing SNAP Connect
Installation
Transferring SNAP Connect to Another Computer (Optional)
Sample Application: McastCounter
Remote Connection Capabilities
Sample Application: Remote TCP McastCounter
SNAP Connect API
accept_tcp
close_serial
connect_tcp
data_mode
disconnect_tcp
get_info | getInfo
load_nv_param | loadNvParam
local_addr | localAddr
loop
mcast_data_mode
mcast_rpc | mcastRpc
open_serial
poll
rpc_source_addr | rpcSourceAddr
rpc_source_interface
save_nv_param | saveNvParam
set_hook | setHook
stop_accepting_tcp
traceroute
Recommended Practices
Hooks
Asynchronous Programming
The apy Package
Multiple Instances
SNAP Connect on the E10
UserMain.py
One more example – simpleSnapRouter.py
Usage
Source Code
Source Code with Commentary
Hints and Tips
Make sure you know the correct SNAP Address for your SNAP Connect Application
Make sure each SNAP Connect application has a unique SNAP Address
Make sure you know the correct serial port for your external devices
Make sure that external bridge device really is available
Don’t forget to call loop() or at least poll()
Don’t call poll() when you mean to call loop()
Don’t forget the other SNAP tools
License governing any code samples presented in this Manual
Disclaimers
0 of .
Results for:
No results containing your search query
P. 1
SNAP Connect Python Package Manual

SNAP Connect Python Package Manual

Ratings: (0)|Views: 345|Likes:
Published by Nestor Guerrero

More info:

Published by: Nestor Guerrero on Jul 25, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/25/2011

pdf

text

original

You're Reading a Free Preview
Pages 5 to 40 are not shown in this preview.

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->