From 13453edfe7a5374c3800d5ff1e8e7eac7aa40745 Mon Sep 17 00:00:00 2001 From: Andy Leviss Date: Mon, 24 Dec 2012 01:44:24 -0500 Subject: [PATCH] Fixed spelling Corrected a number of consistent misspellings in the library/examples: aviable -> available recieve -> receive lisence -> license --- ArdOSC.h | 0 Example/OSCArguments/OSCArguments.ino | 2 +- Example/OSCArguments/OSCArguments_p5/OSCArguments_p5.pde | 0 Example/SImpleRecieve/SImpleRecieve.ino | 2 +- .../SImpleRecieve/SimpleRecieve_p5/SimpleRecieve_p5.pde | 0 Example/SImpleRecieveLEDToggle/SImpleRecieveLEDToggle.ino | 2 +- .../SImpleRecieveLEDToggle_p5.pde | 0 Example/loopback/LoopBackSender_P5/LoopBackSender_P5.pde | 0 Example/loopback/loopback.ino | 2 +- Example/multicallback/multicallback.ino | 2 +- .../multicallback/multicallback_p5/multicallback_p5.pde | 0 Example/simplesend/SimpleSend_P5/SimpleSend_P5.pde | 0 Example/simplesend/simplesend.ino | 0 Lisence.txt => License.txt | 0 OSCArg.cpp | 0 OSCClient.cpp | 0 OSCDecoder.cpp | 0 OSCEncoder.cpp | 0 OSCMessage.cpp | 0 OSCServer.cpp | 8 ++++---- OSCcommon/OSCArg.h | 0 OSCcommon/OSCClient.h | 0 OSCcommon/OSCDecoder.h | 0 OSCcommon/OSCEncoder.h | 0 OSCcommon/OSCMessage.h | 0 OSCcommon/OSCServer.h | 6 +++--- OSCcommon/OSCcommon.h | 2 +- OSCcommon/Pattern.h | 0 Pattern.cpp | 0 README | 0 keywords.txt | 2 +- 31 files changed, 14 insertions(+), 14 deletions(-) mode change 100644 => 100755 ArdOSC.h mode change 100644 => 100755 Example/OSCArguments/OSCArguments.ino mode change 100644 => 100755 Example/OSCArguments/OSCArguments_p5/OSCArguments_p5.pde mode change 100644 => 100755 Example/SImpleRecieve/SImpleRecieve.ino mode change 100644 => 100755 Example/SImpleRecieve/SimpleRecieve_p5/SimpleRecieve_p5.pde mode change 100644 => 100755 Example/SImpleRecieveLEDToggle/SImpleRecieveLEDToggle.ino mode change 100644 => 100755 Example/SImpleRecieveLEDToggle/SImpleRecieveLEDToggle_p5/SImpleRecieveLEDToggle_p5.pde mode change 100644 => 100755 Example/loopback/LoopBackSender_P5/LoopBackSender_P5.pde mode change 100644 => 100755 Example/loopback/loopback.ino mode change 100644 => 100755 Example/multicallback/multicallback.ino mode change 100644 => 100755 Example/multicallback/multicallback_p5/multicallback_p5.pde mode change 100644 => 100755 Example/simplesend/SimpleSend_P5/SimpleSend_P5.pde mode change 100644 => 100755 Example/simplesend/simplesend.ino rename Lisence.txt => License.txt (100%) mode change 100644 => 100755 mode change 100644 => 100755 OSCArg.cpp mode change 100644 => 100755 OSCClient.cpp mode change 100644 => 100755 OSCDecoder.cpp mode change 100644 => 100755 OSCEncoder.cpp mode change 100644 => 100755 OSCMessage.cpp mode change 100644 => 100755 OSCServer.cpp mode change 100644 => 100755 OSCcommon/OSCArg.h mode change 100644 => 100755 OSCcommon/OSCClient.h mode change 100644 => 100755 OSCcommon/OSCDecoder.h mode change 100644 => 100755 OSCcommon/OSCEncoder.h mode change 100644 => 100755 OSCcommon/OSCMessage.h mode change 100644 => 100755 OSCcommon/OSCServer.h mode change 100644 => 100755 OSCcommon/OSCcommon.h mode change 100644 => 100755 OSCcommon/Pattern.h mode change 100644 => 100755 Pattern.cpp mode change 100644 => 100755 README mode change 100644 => 100755 keywords.txt diff --git a/ArdOSC.h b/ArdOSC.h old mode 100644 new mode 100755 diff --git a/Example/OSCArguments/OSCArguments.ino b/Example/OSCArguments/OSCArguments.ino old mode 100644 new mode 100755 index d0c3cc0..29d3767 --- a/Example/OSCArguments/OSCArguments.ino +++ b/Example/OSCArguments/OSCArguments.ino @@ -28,7 +28,7 @@ void setup(){ } void loop(){ - if(server.aviableCheck()>0){ + if(server.availableCheck()>0){ // Serial.println("alive! "); } } diff --git a/Example/OSCArguments/OSCArguments_p5/OSCArguments_p5.pde b/Example/OSCArguments/OSCArguments_p5/OSCArguments_p5.pde old mode 100644 new mode 100755 diff --git a/Example/SImpleRecieve/SImpleRecieve.ino b/Example/SImpleRecieve/SImpleRecieve.ino old mode 100644 new mode 100755 index 419a7e9..04bf250 --- a/Example/SImpleRecieve/SImpleRecieve.ino +++ b/Example/SImpleRecieve/SImpleRecieve.ino @@ -28,7 +28,7 @@ void setup(){ } void loop(){ - if(server.aviableCheck()>0){ + if(server.availableCheck()>0){ // Serial.println("alive! "); } diff --git a/Example/SImpleRecieve/SimpleRecieve_p5/SimpleRecieve_p5.pde b/Example/SImpleRecieve/SimpleRecieve_p5/SimpleRecieve_p5.pde old mode 100644 new mode 100755 diff --git a/Example/SImpleRecieveLEDToggle/SImpleRecieveLEDToggle.ino b/Example/SImpleRecieveLEDToggle/SImpleRecieveLEDToggle.ino old mode 100644 new mode 100755 index 506f1fa..e673955 --- a/Example/SImpleRecieveLEDToggle/SImpleRecieveLEDToggle.ino +++ b/Example/SImpleRecieveLEDToggle/SImpleRecieveLEDToggle.ino @@ -30,7 +30,7 @@ void setup(){ void loop(){ - if(server.aviableCheck()>0){ + if(server.availableCheck()>0){ // Serial.println("alive! "); } diff --git a/Example/SImpleRecieveLEDToggle/SImpleRecieveLEDToggle_p5/SImpleRecieveLEDToggle_p5.pde b/Example/SImpleRecieveLEDToggle/SImpleRecieveLEDToggle_p5/SImpleRecieveLEDToggle_p5.pde old mode 100644 new mode 100755 diff --git a/Example/loopback/LoopBackSender_P5/LoopBackSender_P5.pde b/Example/loopback/LoopBackSender_P5/LoopBackSender_P5.pde old mode 100644 new mode 100755 diff --git a/Example/loopback/loopback.ino b/Example/loopback/loopback.ino old mode 100644 new mode 100755 index a1bd7c3..af11ee3 --- a/Example/loopback/loopback.ino +++ b/Example/loopback/loopback.ino @@ -26,7 +26,7 @@ void setup(){ } void loop(){ - if(server.aviableCheck()>0){ + if(server.availableCheck()>0){ Serial.println("alive! "); } } diff --git a/Example/multicallback/multicallback.ino b/Example/multicallback/multicallback.ino old mode 100644 new mode 100755 index 3983832..4424ec5 --- a/Example/multicallback/multicallback.ino +++ b/Example/multicallback/multicallback.ino @@ -31,7 +31,7 @@ void setup(){ void loop(){ - int result = server.aviableCheck(); + int result = server.availableCheck(); if(result>0){ //callback after process diff --git a/Example/multicallback/multicallback_p5/multicallback_p5.pde b/Example/multicallback/multicallback_p5/multicallback_p5.pde old mode 100644 new mode 100755 diff --git a/Example/simplesend/SimpleSend_P5/SimpleSend_P5.pde b/Example/simplesend/SimpleSend_P5/SimpleSend_P5.pde old mode 100644 new mode 100755 diff --git a/Example/simplesend/simplesend.ino b/Example/simplesend/simplesend.ino old mode 100644 new mode 100755 diff --git a/Lisence.txt b/License.txt old mode 100644 new mode 100755 similarity index 100% rename from Lisence.txt rename to License.txt diff --git a/OSCArg.cpp b/OSCArg.cpp old mode 100644 new mode 100755 diff --git a/OSCClient.cpp b/OSCClient.cpp old mode 100644 new mode 100755 diff --git a/OSCDecoder.cpp b/OSCDecoder.cpp old mode 100644 new mode 100755 diff --git a/OSCEncoder.cpp b/OSCEncoder.cpp old mode 100644 new mode 100755 diff --git a/OSCMessage.cpp b/OSCMessage.cpp old mode 100644 new mode 100755 diff --git a/OSCServer.cpp b/OSCServer.cpp old mode 100644 new mode 100755 index b5bf724..73108dd --- a/OSCServer.cpp +++ b/OSCServer.cpp @@ -31,7 +31,7 @@ OSCServer::~OSCServer(void){ } -int16_t OSCServer::begin(uint16_t _recievePort){ +int16_t OSCServer::begin(uint16_t _receivePort){ if ( _sock != MAX_SOCK_NUM ) return -1; @@ -45,7 +45,7 @@ int16_t OSCServer::begin(uint16_t _recievePort){ if (_sock == MAX_SOCK_NUM) return -1; - _port=_recievePort; + _port=_receivePort; if( socket( _sock , SnMR::UDP , _port, 0 ) ) return -1; @@ -64,14 +64,14 @@ void OSCServer::stop(void){ } -int16_t OSCServer::aviableCheck(void){ +int16_t OSCServer::availableCheck(void){ if( !( W5100.readSnIR(_sock) && SnIR::RECV ) ) return -1; if( W5100.getRXReceivedSize(_sock) == 0 ) return -1; OSCMessage rcvMes; - if ( recvfrom( _sock , _rcvData , 1 , rcvMes._ip , &rcvMes._port ) > kMaxRecieveData ) return -1; + if ( recvfrom( _sock , _rcvData , 1 , rcvMes._ip , &rcvMes._port ) > kMaxReceiveData ) return -1; if( _decoder.decode( &rcvMes ,_rcvData ) < 0 ) return -1; diff --git a/OSCcommon/OSCArg.h b/OSCcommon/OSCArg.h old mode 100644 new mode 100755 diff --git a/OSCcommon/OSCClient.h b/OSCcommon/OSCClient.h old mode 100644 new mode 100755 diff --git a/OSCcommon/OSCDecoder.h b/OSCcommon/OSCDecoder.h old mode 100644 new mode 100755 diff --git a/OSCcommon/OSCEncoder.h b/OSCcommon/OSCEncoder.h old mode 100644 new mode 100755 diff --git a/OSCcommon/OSCMessage.h b/OSCcommon/OSCMessage.h old mode 100644 new mode 100755 diff --git a/OSCcommon/OSCServer.h b/OSCcommon/OSCServer.h old mode 100644 new mode 100755 index 8031f36..9af206c --- a/OSCcommon/OSCServer.h +++ b/OSCcommon/OSCServer.h @@ -25,7 +25,7 @@ class OSCServer{ int16_t _sock; uint16_t _port; - uint8_t _rcvData[kMaxRecieveData]; + uint8_t _rcvData[kMaxReceiveData]; OSCDecoder::OSCDecoder _decoder; @@ -41,11 +41,11 @@ class OSCServer{ OSCServer(void); ~OSCServer(void); - int16_t begin(uint16_t _recievePort); + int16_t begin(uint16_t _receivePort); void stop(void); - int16_t aviableCheck(void); + int16_t availableCheck(void); //_adr osc address string pointer - "/ard/aaa" diff --git a/OSCcommon/OSCcommon.h b/OSCcommon/OSCcommon.h old mode 100644 new mode 100755 index ef38bc9..1773087 --- a/OSCcommon/OSCcommon.h +++ b/OSCcommon/OSCcommon.h @@ -22,7 +22,7 @@ extern "C" { } #define kMaxAugument 16 -#define kMaxRecieveData 100 +#define kMaxReceiveData 100 #define kMaxOSCAdrCharactor 255 #define CULC_ALIGNMENT(x) (x+4)&0xfffc diff --git a/OSCcommon/Pattern.h b/OSCcommon/Pattern.h old mode 100644 new mode 100755 diff --git a/Pattern.cpp b/Pattern.cpp old mode 100644 new mode 100755 diff --git a/README b/README old mode 100644 new mode 100755 diff --git a/keywords.txt b/keywords.txt old mode 100644 new mode 100755 index a783a4e..f8bedf1 --- a/keywords.txt +++ b/keywords.txt @@ -20,7 +20,7 @@ send KEYWORD2 begin KEYWORD2 stop KEYWORD2 -aviableCheck KEYWORD2 +availableCheck KEYWORD2 addCallback KEYWORD2 flush KEYWORD2