Sign In
Upload
Manuals
Brands
Tibbo Manuals
Network Card
GA1000
Tibbo GA1000 Manuals
Manuals and User Guides for Tibbo GA1000. We have
1
Tibbo GA1000 manual available for free PDF download: User Manual
Tibbo GA1000 User Manual (560 pages)
Brand:
Tibbo
| Category:
Network Card
| Size: 5 MB
Table of Contents
Table of Contents
3
Taiko R2
17
Legal Information
17
Overview
20
Our Language Philosophy
20
System Components
23
Objects
24
Events
24
Getting Started
25
Preparing Your Hardware
25
Starting a New Project
26
Writing Code
27
Building, Uploading and Running
30
Compiling a Final Binary
31
Programming with TIDE
31
Managing Projects
31
The Structure of a Project
31
Creating, Opening and Saving Projects
33
Templates
33
Adding, Removing and Saving Files
34
Resource Files
36
Built-In Image Editor
36
Coding Your Project
38
Project Browser
38
Code Auto-Completion
39
Code Hinting
40
Tooltips
40
Supported HTML Tags
42
Making, Uploading and Running an Executable Binary
42
Two Modes of Target Execution
43
Debugging Your Project
44
Target States
44
Exceptions
45
Program Pointer
46
Breakpoints
46
The Call Stack and Stack Pointer
47
Stepping
48
The Watch
49
Scopes in Watch
53
Code Profiling
53
Project Settings
54
Programming Fundamentals
55
Program Structure
55
Code Basics
56
Naming Conventions
58
Introduction to Variables, Constants and Scopes
59
Variables and Their Types
59
Type Conversion
61
Type Conversion in Expressions
64
Compile-Time Calculations
65
Arrays
66
Structures
70
Enumeration Types
71
Understanding the Scope of Variables
73
Declaring Variables
76
Constants
76
Introduction to Procedures
78
Passing Arguments to Procedures
80
Memory Allocation for Procedures
82
Introduction to Control Structures
83
Decision Structures
83
Loop Structures
84
Doevents
84
Using Preprocessor
87
Scope of Preprocessor Directives
89
Working with HTML
90
Embedding Code Within an HTML File
92
Understanding Platforms
93
Objects, Events and Platform Functions
94
Language Reference
94
Statements
95
Const Statement
95
Declare Statement
95
DIM Statement
97
Doevents Statement
98
Enum Statement
100
Exit Statement
101
For
102
Function Statement
103
Goto Statement
104
If.... Then... else Statement
105
Include Statement
106
Select-Case Statement
107
Sub Statement
109
Type Statement
110
While-Wend Statement
111
Keywords
112
Boolean
113
Byref
113
Byte
113
Byval
113
Char
113
Else
113
End
113
False
114
For
114
Integer
114
Next
114
Public
114
Short
114
Step
114
String
114
Then
114
Type
115
True
115
Word
115
Operators
115
Error Messages
117
C1001
117
C1002
117
C1003
118
C1004
118
C1005
118
C1006
119
C1007
119
C1008
120
C1009
120
C1010
120
C1011
121
C1012
121
C1013
122
C1014
122
C1015
122
C1016
123
C1017
123
C1018
123
C1019
124
C1020
124
C1021
124
C1022
125
C1023
125
C1024
126
L1001
126
L1002
126
L1003
127
L1004
127
L1005
127
L1006
127
L1007
128
L1008
128
L1009
128
Objects, Properties, Methods, Events
129
Development Environment
129
Installation Requirements
129
User Interface
129
Main Window
130
Operation Modes
130
Menu Bar
131
File Menu
131
Edit Menu
132
View Menu
133
Project Menu
133
Debug Menu
134
Image Menu
135
Window Menu
135
Help Menu
136
Toolbars
136
Project Toolbar
136
Debug Toolbar
137
Image Editor Toolbar
138
Tool Properties Toolbar
138
Selection Tool Properties
139
Paint Tool Properties
139
Eraser Tool Properties
139
Text Tool Properties
139
Line Tool Properties
140
Rectangle Tool Properties
140
Ellipse Tool Properties
141
Zoom Tool Properties
142
Status Bar
142
Dialogs
142
Project Settings
143
New Project
143
Add File to Project
144
Graphic File Properties Dialog
144
Panes
144
Call Stack
144
Output
145
Project
145
Browser
145
Files
146
Watch
146
Colors
146
Glossary of Terms
147
Compilation Unit
147
Compiler
147
Language Element Icons
147
Construct
148
Cross-Debugging
148
Identifier
148
Keyword
148
Label
148
Linker
148
P-Code
148
Syscall
148
Target
149
Virtual Machine
149
Platforms
149
Platform Specifications
149
EM202 Platform
150
Memory Space
150
Supported Variabled Types
150
Supported Functions (Syscalls)
150
Supported Objects
151
Platform-Dependent Constants
151
Enum Pl_Redir
151
Enum Pl_Io_Num
152
Platform-Dependent Programming Information
152
EM1000 and EM1000W Platforms
155
Memory Space
156
Supported Objects
156
Platform-Dependent Constants
156
Enum Pl_Redir
157
Enum Pl_Io_Num
158
Enum Pl_Int_Num
158
Platform-Dependent Programming Information
161
EM1202 and EM1202W Platforms
165
Memory Space
165
Supported Objects
166
Platform-Dependent Constants
166
Enum Pl_Redir
166
Enum Pl_Int_Num
169
Enum Pl_Sock_Interfaces
170
Platform-Dependent Programming Information
170
EM1206 and EM1206W Platforms
174
Memory Space
174
Supported Objects
175
Platform-Dependent Constants
175
Enum Pl_Redir
175
Enum Pl_Io_Num
176
Enum Pl_Int_Num
178
Enum Pl_Sock_Interfaces
178
Platform-Dependent Programming Information
179
DS1202 Platform
182
Memory Space
183
Supported Objects
183
Platform-Dependent Constants
183
Enum Pl_Redir
183
Enum Pl_Io_Num
185
Enum Pl_Int_Num
186
Enum Pl_Sock_Interfaces
186
Platform-Dependent Programming Information
187
DS1206 Platform
190
Memory Space
191
Supported Objects
191
Platform-Dependent Constants
191
Enum Pl_Redir
191
Enum Pl_Io_Num
193
Enum Pl_Int_Num
193
Enum Pl_Sock_Interfaces
195
Platform-Dependent Programming Information
195
Common Information
198
Supported Variable Types (T1000-Based Devices)
199
Supported Functions (T1000-Based Devices)
199
LED Signals
200
Debug Communications
201
Project Settings Dialog
202
Device Explorer
203
Function Reference
205
Asc Function
205
Bin Function
206
Cfloat Function
206
Chr Function
207
Date Function
207
Daycount Function
208
Ddstr Function
208
Ddval Function
209
Ftostr Function
210
Hex Function
211
Hours Function
211
Insert Function
212
Instr Function
213
Lbin Function
213
Left Function
214
Len Function
214
Lhex Function
215
Lstr Function
215
Lstri Function
216
Lval Function
216
Md5 Function
217
MID Function
218
Mincount Function
219
Minutes Function
219
Month Function
220
Random Function
221
Right Function
221
Sha1 Function
221
Str Function
223
Strgen Function
223
Stri Function
224
Strsum Function
225
Strtof Function
225
Val Function
226
Vali Function
226
Weekday Function
227
Year Function
227
Object Reference
228
Sys Object
228
Overview
228
Buffer Management
229
System Timer
230
PLL Management
231
Serial Number
232
Miscellaneous
233
Properties, Methods, Events
233
Buffalloc Method
233
Currentpll R/O Property (Selected Platforms Only)
234
Freebuffpages R/O Property
234
Halt Method
235
Newpll Method (Selected Platforms Only)
235
Onsystimerperiod Property (Selected Platforms Only)
236
Reboot Method
237
Runmode R/O Property
237
Serialnum R/O Property
237
Setserialnum Method
238
Resettype R/O Property
238
Timercount R/O Property
239
TIDE and Tibbo BASIC User Manual
239
Totalbuffpages R/O Property
239
Version R/O Property
239
Ser Object
240
What's New in V1.1
240
Overview
241
Anatomy of a Serial Port
241
Three Modes of the Serial Port
241
UART Mode
242
Wiegand Mode
245
Clock/Data Mode
248
Port Selection
250
Serial Settings
252
Sending and Receiving Data (TX and RX Buffers)
255
Allocating Memory for Buffers
255
Using Buffers
256
Buffer Memory Status
256
Receiving Data
257
Sending Data
259
Handling Buffer Overruns
260
Redirecting Buffers
261
Sinking Data
261
Properties, Methods, Events
262
Autoclose Property
264
Baudrate Property
264
Bits Property
265
Ctsmap Property (Selected Platforms Only)
265
Dircontrol Property
266
Div9600 R/O Property
266
Enabled Property
267
Escchar Property
267
Esctype Property
267
Flowcontrol Property
269
Getdata Method
269
Interchardelay Property
270
Interface Property
271
Mode Property
271
Newtxlen R/O Property
272
Notifysent Method
273
Num Property
273
Numofports R/O Property
274
On_Ser_Data_Arrival Event
274
On_Ser_Data_Sent Event
274
On_Ser_Esc Event
275
On_Ser_Overrun Event
275
Parity Property
276
Redir Method
276
Rtsmap Property (Selected Platforms Only)
277
Rxbuffrq Method
278
Rxbuffsize R/O Property
278
Rxclear Method
279
Rxlen R/O Property
279
Send Method
280
Setdata Method
280
Sinkdata Property
281
Txbuffrq Method
281
Txbuffsize R/O Property
282
Txclear Method
282
Txfree R/O Property
282
Txlen R/O Property
283
Net Object
283
Overview
284
Main Parameters
284
Checking Ethernet Status
285
Properties, Methods, Events
285
Mac R/O Property
285
Ip Property
286
Netmask Property
286
Gatewayip Property
286
Failure R/O Property
287
Linkstate R/O Property
287
On_Net_Overrun Event
288
Button Object
288
On_Button_Pressed Event
289
On_Button_Released Event
289
Pressed R/O Property
290
Time R/O Property
290
Sock Object
290
Overview
291
Anatomy of a Socket
292
Socket Selection
292
Handling Network Connections
293
TCP Connection Basics
294
UDP "Connection" Basics
294
Accepting Incoming Connections
295
Accepting UDP Broadcasts
297
Understanding TCP Reconnects
297
Understanding UDP Reconnects and Port Switchover
299
Incoming Connections on Multiple Sockets
302
Establishing Outgoing Connections
303
Sending UDP Broadcasts
304
Closing Connections
306
Checking Connection Status
308
More on the Socket's Asynchronous Nature
310
Sending and Receiving Data
313
Allocating Memory for Buffers
313
Using Buffers in TCP Mode
314
Using Buffers in UDP Mode
315
TX and RX Buffer Memory Status
316
Receiving Data in TCP Mode
317
Receiving Data in UDP Mode
319
Sending TCP and UDP Data
320
Split Packet" Mode of TCP Data Processing
322
Handling Buffer Overruns
323
Redirecting Buffers
324
Sinking Data
325
Working with Inband Commands
325
Inband Message Format
325
Inband-Related Buffers (CMD, RPL, and TX2)
326
Processing Inband Commands
327
Sending Inband Replies
329
Using HTTP
330
HTTP-Related Buffers
331
Setting the Socket for HTTP
333
Socket Behavior in the HTTP Mode
334
Including BASIC Code in HTTP Files
335
Generating Dynamic HTML Pages
336
URL Substitution
338
TIDE and Tibbo BASIC User Manual
339
Working with HTTP Variables
339
Simple Case (Small Amout of Variable Data)
339
Complex Case (Large Amount of Variable Data)
340
Details on Variable Data
342
Properties, Methods, and Events
343
Acceptbcast Property
343
Allowedinterfaces Property
343
Bcast R/O Property
344
Close Method
344
Cmdbuffrq Method
345
Cmdlen R/O Property
345
Connect Method
346
Connectiontout Property
346
Currentinterface R/O Property
347
Discard Method
347
Endchar Property
347
Escchar Property
348
Event R/O Property (Obsolete)
348
Eventsimple R/O Property (Obsolete)
348
Getdata Method
349
Gethttprqstring Method
349
Getinband Method
350
Httpmode Property
350
Httpnoclose Property
351
Httpportlist Property
351
Httprqstring R/O Property
352
Inbandcommands Property
353
Inconenabledmaster Property
353
Inconmode Property
354
Localport R/O Property
354
Localportlist Property
355
Newtxlen R/O Property
355
Nextpacket Method
355
Notifysent Method
356
Num Property
356
Numofsock R/O Property
357
Outport Property
357
On_Sock_Data_Arrival Event
358
On_Sock_Data_Sent Event
358
On_Sock_Event Event
359
On_Sock_Inband Event
359
On_Sock_Overrun Event
359
On_Sock_Postdata
360
On_Sock_Tcp_Packet_Arrival Event
360
Protocol Property
361
Reconmode Property
361
Redir Method
362
Remoteip R/O Property
363
Remotemac R/O Property
364
Remoteport R/O Property
364
Reset Method
364
Rplbuffrq Method
365
Rplfree R/O Property
366
Rpllen R/O Property
366
Rxbuffrq Method
366
Rxbuffsize R/O Property
367
Rxclear Method
367
Rxpacketlen R/O Property
368
Rxlen R/O Property
368
Send Method
369
Setdata Method
369
Setsendinband Method
370
Sinkdata Property
370
Splittcppackets Property
371
State R/O Property
371
Statesimple R/O Property
374
Targetbcast Property
375
Targetinterface Property
375
Targetip Property
375
Targetport Property
376
Toutcounter R/O Property
376
Tx2Buffrq Method
377
Tx2Len R/O Property
378
Txbuffrq Method
378
Txbuffsize R/O Property
379
Txclear Method
379
Txfree R/O Property
379
Txlen R/O Property
380
Urlsubstitutes
380
Varbuffrq Method
381
IO Object
381
Overview
381
Line/Port Manipulation with Pre-Selection
382
Line/Port Manipulation Without Pre-Selection
383
Controlling Output Buffers
384
Working with Interrupts
385
Properties, Events, Methods
386
Enabled Property (Selected Platforms Only)
386
Intenabled Property
386
Intnum Property
387
Invert Method
387
Lineget Method
387
Lineset Method
388
Num Property
388
On_Io_Int Event
389
Portenabled Property (Selected Platforms Only)
389
Portget Method
389
Portnum Property
390
Portset Method
390
Portstate Property
391
State Property
391
Romfile Object
391
Find Method
393
Getdata Method
394
Offset R/O Property
394
Open Method
395
Pointer Property
395
Size R/O Property
395
Stor Object
396
Base Property
397
Getdata Method (Previously .Get)
397
Setdata Method (Previously .Set)
398
Size R/O Property
399
Pat Object
400
Channel Property
401
Greenmap Property
401
On_Pat Event
402
Play Method
402
Redmap Property
403
Beep Object
403
Divider Property
404
On_Beep Event
404
Play Method
405
RTC Object
405
Getdata Method (Previously .Get)
406
Running R/O Property
407
Setdata Method (Previously .Set)
407
LCD Object
408
Overview
409
Understanging Controller Properties
409
Preparing the Display for Operation
411
Working with Pixels and Colors
411
Lines, Rectangles, and Fills
412
Working with Text
413
Raster Font File Format
416
Displaying Images
420
Improving Graphical Performance
421
Supported Controllers/Panels
424
Samsung S6B0108 (Winstar WG12864F)
424
Solomon SSD1329 (Ritdisplay RGS13128096)
426
Himax HX8309 (Ampire AM176220)
427
Properties and Methods
428
Backcolor Property
430
Bitsperpixel R/O Property
430
Bluebits R/O Property
431
Bmp Method
431
Enabled Property
432
Error R/O Property
433
Fill Method
433
Filledrectangle Method
434
Fontheight R/O Property
434
Fontpixelpacking R/O Property
435
Forecolor Property
435
Getprintwidth Method
436
Greenbits R/O Property
436
Height Property
437
Horline Method
437
Inverted Property
438
Iomapping Property
438
Line Method
438
Linewidth Property
439
Lock Method
439
Lockcount R/O Property
440
Paneltype R/O Property
440
Pixelpacking R/O Property
441
Print Method
441
Printaligned Method
442
Rectangle Method
443
Redbits R/O Property
443
Rotated Property
444
Setfont Method
444
Setpixel Method
445
Textalignment Property
445
Texthorizontalspacing Property
446
Textorientation Property
446
Textverticalspacing Property
447
Unlock Method
447
Verline Method
448
Width Property
448
Fd Object
449
Overview
449
Sharing Flash between Your Application and Data
450
Fd. Object's Status Codes
451
File-Based Access
452
Formatting the Flash Disk
452
Disk Area Allocation Details
453
Mounting the Flash Disk
455
File Names and Attributes
456
Checking Disk Vitals
457
Creating, Deleting, and Renaming Files
457
Reading and Writing File Attributes
458
Walking through File Directory
458
Opening Files
459
Writing to and Reading from Files
460
Removing Data from Files
461
Searching Files
462
Closing Files
464
Direct Sector Access
464
Using Checksums
466
Upgrading the Firmware/Application
468
File-Based and Direct Sector Access Coexistence
469
Prolonging Flash Memory Life
469
Ensuring Disk Data Integrity
470
Properties and Methods
472
Availableflashspace R/O Property
473
Buffernum Property
474
Capacity R/O Property
474
Checksum Method
475
Close Method
476
Copyfirmware Method
476
Cutfromtop Method
477
Create Method
478
Delete Method
479
Filenum Property
479
Fileopened R/O Property
480
Filesize R/O Property
480
Find Method
480
Flush Method
482
Format Method
483
Getattributes Method
483
Getbuffer Method
484
Getdata Method
485
Getfreespace Method
486
Getnextdirmember Method
486
Getnumfiles Method
487
Getsector Method
488
Laststatus R/O Property
488
Maxopenedfiles R/O Property
489
Maxstoredfiles R/O Property
490
Mount Method
490
Numservicesectors R/O Property
491
Open Method
491
Pointer R/O Property
492
Ready R/O Property
492
Rename Method
493
Resetdirpointer Method
494
Sector R/O Property
494
Setattributes Method
494
Setbuffer Method
495
Setdata Method
496
Setfilesize Method
497
Setpointer Method
498
Setsector Method
499
Totalsize R/O Property
499
Kp Object
500
Possible Keypad Configurations
500
Key States and Transitions
502
Preparing the Keypad for Operation
503
Servicing Keypad Events
505
Properties, Methods, Events
508
Autodisablecodes Property
508
Enabled Property
508
Longpressdelay Property
509
Longreleasedelay Property
509
On_Kp Event
510
On_Kp_Overflow Event
510
Pressdelay Property
511
Releasedelay Property
511
Repeatdelay Property
512
Returnlinesmapping Property
512
Scanlinesmapping Property
513
Wln Object
513
Migrating from the WA1000
514
Overview
515
Wi-Fi Parlance Primer
516
Wln Tasks
516
Wln State Transitions
519
Brining up Wi-Fi Interface
520
Allocating Buffer Memory
521
Applying Reset
522
Configuring Interface Lines
523
Setting MAC Address (Optional)
523
Selecting Domain
524
Booting up the Hardware
524
Setting IP, Gateway, and Netmask (Optional)
525
Setting TX Power (Optional)
525
Scanning for Wi-Fi Networks
525
Setting WEP Mode and Key
526
Associating with Selected Network
527
Creating Own Ad-Hoc Network
528
Communicating Via Wln Interface
528
Disassociating from the Network
528
Terminating Own Ad-Hoc Network
528
Rebooting
529
Detecting Disassociation or Offline State
529
Properties, Methods, Events
529
Associate Method
529
Associationstate R/O Property
530
Boot Method
531
Bssmode Property
531
Buffrq Method
532
Buffsize R/O Property
532
Clkmap Property
533
Csmap Property
533
Defaultibsschannel Property
533
Dimap Property
533
Disassociate Method
534
Domain Property
534
Domap Property
535
Enabled R/O Property
535
Gatewayip Property
536
Ip Property
536
Mac Property
536
Netmask Property
537
Networkstart Method
537
Networkstop Method
538
On_Wln_Event Event
538
On_Wln_Task_Complete Event
539
Rssi R/O Property
540
Scan Method
540
Scanresultbssid R/O Property
541
Scanresultbssmode R/O Property
541
Scanresultchannel R/O Property
542
Scanresultrssi R/O Property
542
Scanresultssid R/O Property
542
Settxpower Method
543
Setwep Method
543
Ssid Property
544
Task R/O Property
544
Wepkey1 Property
545
Wepkey2 Property
545
Wepkey3 Property
545
Wepkey4 Property
545
Wepmode Property
546
Update History (for this Manual)
546
Advertisement
Advertisement
Related Products
Tibbo Categories
Controller
Media Converter
Server
Control Unit
Network Card
More Tibbo Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL