Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed spelling throughout library #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified ArdOSC.h
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion Example/OSCArguments/OSCArguments.ino
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void setup(){
}

void loop(){
if(server.aviableCheck()>0){
if(server.availableCheck()>0){
// Serial.println("alive! ");
}
}
Expand Down
Empty file modified Example/OSCArguments/OSCArguments_p5/OSCArguments_p5.pde
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion Example/SImpleRecieve/SImpleRecieve.ino
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void setup(){
}

void loop(){
if(server.aviableCheck()>0){
if(server.availableCheck()>0){
// Serial.println("alive! ");
}

Expand Down
Empty file modified Example/SImpleRecieve/SimpleRecieve_p5/SimpleRecieve_p5.pde
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion Example/SImpleRecieveLEDToggle/SImpleRecieveLEDToggle.ino
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void setup(){

void loop(){

if(server.aviableCheck()>0){
if(server.availableCheck()>0){
// Serial.println("alive! ");
}

Expand Down
Empty file.
Empty file modified Example/loopback/LoopBackSender_P5/LoopBackSender_P5.pde
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion Example/loopback/loopback.ino
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void setup(){
}

void loop(){
if(server.aviableCheck()>0){
if(server.availableCheck()>0){
Serial.println("alive! ");
}
}
Expand Down
2 changes: 1 addition & 1 deletion Example/multicallback/multicallback.ino
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void setup(){

void loop(){

int result = server.aviableCheck();
int result = server.availableCheck();

if(result>0){
//callback after process
Expand Down
Empty file modified Example/multicallback/multicallback_p5/multicallback_p5.pde
100644 → 100755
Empty file.
Empty file modified Example/simplesend/SimpleSend_P5/SimpleSend_P5.pde
100644 → 100755
Empty file.
Empty file modified Example/simplesend/simplesend.ino
100644 → 100755
Empty file.
0 Lisence.txt → License.txt
100644 → 100755
File renamed without changes.
Empty file modified OSCArg.cpp
100644 → 100755
Empty file.
Empty file modified OSCClient.cpp
100644 → 100755
Empty file.
Empty file modified OSCDecoder.cpp
100644 → 100755
Empty file.
Empty file modified OSCEncoder.cpp
100644 → 100755
Empty file.
Empty file modified OSCMessage.cpp
100644 → 100755
Empty file.
8 changes: 4 additions & 4 deletions OSCServer.cpp
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;

Expand All @@ -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;

Expand Down
Empty file modified OSCcommon/OSCArg.h
100644 → 100755
Empty file.
Empty file modified OSCcommon/OSCClient.h
100644 → 100755
Empty file.
Empty file modified OSCcommon/OSCDecoder.h
100644 → 100755
Empty file.
Empty file modified OSCcommon/OSCEncoder.h
100644 → 100755
Empty file.
Empty file modified OSCcommon/OSCMessage.h
100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions OSCcommon/OSCServer.h
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class OSCServer{
int16_t _sock;
uint16_t _port;

uint8_t _rcvData[kMaxRecieveData];
uint8_t _rcvData[kMaxReceiveData];


OSCDecoder::OSCDecoder _decoder;
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion OSCcommon/OSCcommon.h
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Empty file modified OSCcommon/Pattern.h
100644 → 100755
Empty file.
Empty file modified Pattern.cpp
100644 → 100755
Empty file.
Empty file modified README
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion keywords.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ send KEYWORD2

begin KEYWORD2
stop KEYWORD2
aviableCheck KEYWORD2
availableCheck KEYWORD2
addCallback KEYWORD2

flush KEYWORD2
Expand Down