Files
harbour-core/contrib/hbsms/tests/send.prg
vszakats 9687850865 2013-03-16 02:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* (all files)
    * stripped svn header
    * minor cleanups
    ; use following command to find out the history of files:
       git log
       git log --follow
       git blame
       git annotate
2013-03-16 02:11:42 +01:00

23 lines
478 B
Plaintext

/*
* Copyright 2009-2010 Viktor Szakats (harbour syenar.net)
* www - http://www.harbour-project.org
*/
#require "hbsms"
PROCEDURE Main( cPort )
#if defined( __PLATFORM__WINDOWS )
hb_default( @cPort, "\\.\COM22" )
#elif defined( __PLATFORM__LINUX )
hb_default( @cPort, "/dev/ttyS1" )
#elif defined( __PLATFORM__DARWIN )
hb_default( @cPort, "/dev/cu.myport-COM1-1" )
#endif
? "start"
? sms_Send( cPort, "555555555", "test msg", .T. )
? "end"
RETURN