Part 3: Communicating with Sockets API
2-6
Getting Started with ADSP-BF537 EZ-KIT Lite
Examine the source code of this skeleton application in the
Project
win-
dow. The
lwip_sysboot_threadtype.c
file is worthy of examination
because the file needs to be modified in order to add functionality to the
stack.
Specifically, open the source file and scroll to (or search for) the function
lwip_sysboot_threadtype_RunFunction()
. Observe the comment block,
/**
*
Add Application Code here
**/
where, in the next exercise, you will insert code to add functionality to the
application.
The remainder of the source code is this file is beyond the scope of this
book’s exercises. The code relies heavily on the system services library that
is touched upon in the previous exercises.
Part 3: Communicating with Sockets API
Now it is time to add functionality to the created application. First, you
create a simple Caesar Cipher program, then run the program, and access
it from the computer via telnet. The Caesar Cipher is a simple data
encryption algorithm, which increments each input letter by a value (the
increment of one is used in this implementation). The letter
A
becomes
B
,
B
becomes
C
, and so on. The algorithm wraps at the end of the alphabet,
with
Z
becoming
A
.
www.BDTIC.com/ADI
Содержание EZ-KIT Lite ADSP-BF537
Страница 4: ...www BDTIC com ADI ...
Страница 8: ...CONTENTS viii Getting Started with ADSP BF537 EZ KIT Lite www BDTIC com ADI ...
Страница 52: ...Listing 1 3 Exercise 1 Part 3 1 30 Getting Started with ADSP BF537 EZ KIT Lite www BDTIC com ADI ...
Страница 88: ...What s Next 3 22 Getting Started with ADSP BF537 EZ KIT Lite www BDTIC com ADI ...