Raspberry Pi System Programming for Beginner
By Agus Kurniawan
- Release Date: 2014-04-26
- Genre: Computers
This book helps how to learn system programming on Raspberry Pi using C language and core system libraries. Several code samples are provided for ease of understanding about system programming.
*Short TOC*
1. Preparing Development Environment
2. File I/O
3. Buffered I/O
4. Process
5. Threading
5.1 Creating Thread
5.2 Thread ID
5.3 Terminating Thread
5.4 Joining Thread
5.5 Thread Mutex
5.6 Condition Variables
6. Interprocess Communication
6.1 Pipe
6.2 FIFOs
6.3 Message Queues
6.4 Shared Memory
7. Socket Programming
7.1 Getting Local Hostname
7.2 Creating and Connecting
7.3 Data Transfer
7.4 Datagram Socket
7.5 Case Study: Building Client-Server with Multi Clients
7.6 Case Study: Socket with HTTP Protocol
8. Serial Communication
8.1 Working with Serial Port
8.2 Arduino for Target Serial Port
8.3 Attaching Arduino to Raspberry Pi
8.4 Reading Serial Communication
8.5 Writing Data to Serial Port
9. GPIO
9.1 Review GPIO
9.2 GPIO Libraries
9.3 Reading Data from GPIO