repk / atdriver Goto Github PK
View Code? Open in Web Editor NEWLinux kernel driver and tty line discipline for sending and receiving sms via at commands
Linux kernel driver and tty line discipline for sending and receiving sms via at commands
======== atdriver ======== atdriver is a linux kernel driver and tty line discipline that sends and receives sms over AT commands. XXX : This is still in development, so to be used with caution Build ===== Simply run : $ make The resulting objects can be find in ./build : - ./build/attest/attest is a test application - ./build/simulAT/simulAT is a AT command device simulator for sending and receiving sms - ./build/atdriver/at.ko is the actual device driver Compilation Configuration ========================= All config for compilation can be found in Conf/ directory. You can make a config file here for your target, for example <target>.mk, then to compile it you have to run : $ make CONF=<target> Configuration var : ------------------- - CC is the compiler used to make objects - CFLAGS are compiler flags - LD is the linker used to link objects - LDFLAGS are linker flags - MAKE is the make binary - DESTDIR is the directory where objects are compiled - KFLAGS these are compiler flags passed when building in the kernel - KMFLAGS are flags passed to the kernel makefiles at.ko ===== at.ko should be built in ./build/atdriver/at.ko this is the proper kernel module. This provides line discipline to send sms. To use it you simply have to londe the kernel module : $ insmod at.ko attest ====== Should be built in ./build/attest/attest. This provides unitary tests for at.ko kernel tty line discipline. You should run it this way : $ ./attest <tty> Where <tty> is the gsm device (can be a gsm simulator such as the one provided with these sources named simulAT). simulAT ======= This is a sms gsm device simulator, this will create a virtual tty through where you can send very basic AT commands. This is often used with attest to test the at line discipline. Run it this way $ ./simulAT This should print the created virtual tty number. Then you can use ./attest <the_previous_tty_nb> in order to test the at.ko driver.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.