[Tinyos-help] Mount ultrasound transducer on telosb/tmote

2009-04-10 Thread Hui Kang
Dear All: Does any one have experience in mounting ultrasound transducer on telosb/tmote? I have this transducer http://www.hobbyengineering.com/H4094.html; which is a typical ultrasound transmitter and receiver. However, there is only two pins. I assume that one pin is attached to the voltage

[Tinyos-help] Mount ultrasound transducer on telosb/tmote

2009-04-10 Thread Hui Kang
Dear All: Does any one have experience in mounting ultrasound transducer on telosb/tmote? I have this transducer http://www.hobbyengineering.com/H4094.html; which is a typical ultrasound transmitter and receiver. However, there is only two pins. I assume that one pin is attached to the voltage

Re: [Tinyos-help] TinyOS CSMA Algorithm

2009-01-26 Thread Hui Kang
Hi, You could search for B-MAC. Kostantinos Katsaros wrote: Hi I want to find any paper or graph which describes exactly the CSMA algorithm that is implemented in TinyOS 2.x Thanks in advance, sincerely Katsaros Kostantinos EECS University of Patras Greece

Re: [Tinyos-help] TinyOS CSMA Algorithm

2009-01-26 Thread Hui Kang
Hi, You could search for B-MAC. Kostantinos Katsaros wrote: Hi I want to find any paper or graph which describes exactly the CSMA algorithm that is implemented in TinyOS 2.x Thanks in advance, sincerely Katsaros Kostantinos EECS University of Patras Greece

Re: [Tinyos-help] Send Queue

2008-12-16 Thread Hui Kang
There is a send queue in the ctp protocol implementation. - Hui fh...@c3sl.ufpr.br wrote: Hello ! I would like to know if there is already an interface that provides a method of queuing packets I want to send. I searched very quickly for it but did not find anything, and anyway, I though it

Re: [Tinyos-help] power level

2008-12-16 Thread Hui Kang
If you can post the piece of the code, it maybe easier to point out. BAI LI wrote: I did changed the RFPOWER variable from 31 to 1. But nothing happened. I expected the nodes can't talk to each other out of 5 meters. But they can even communicate with each other in 15 meters ranges. What is

Re: [Tinyos-help] where to set the power level?

2008-12-16 Thread Hui Kang
Add this line to your makefile and remove those macro. CFLAGS=-DCC2420_DEF_RFPOWER=3 - Hui BAI LI wrote: I read the cc2420 datasheet and modified it but unluckily it still didn't work. I modified the following code repectivcely. #ifndef CC2420_DEF_RFPOWER #define CC2420_DEF_RFPOWER

Re: [Tinyos-help] How to limit radio range of sensor node in NesC programing for TOSSIM simulation

2008-11-23 Thread Hui Kang
can you specify the topology in a file, though it maybe tedious to do so? - Hui 杨冰 wrote: thanks for ur suggestion, it seems not an easy case, i have searched on the web,but find no any information about my problem. thanks any way. 2008-11-23

[Tinyos-help] [CTP question] Why no forwarding in TestNetwork

2008-10-07 Thread Hui Kang
are not in the tx range, I put A and B very close so that B is the forwarder for A. However, I did not see the data from A reaches C via B. Is there any wrong with the routing table of B? How can I check this? Thanks in advance. - Hui Kang ___ Tinyos

Re: [Tinyos-help] CC2420 Software Acknowlegements

2008-10-06 Thread Hui Kang
It is by PacketLinkC component. - Hui Dinesh Koya wrote: Hi all I recently read the TEP 126 titled CC2420 Radio Stack in which I found that the CC2420 previous only used Hardware acknowledgments generated automatically by the radio chip itself, but the current stack now uses Software

Re: [Tinyos-help] Power consumption evaluation

2008-10-02 Thread Hui Kang
Hi, Eric, How about directly reading the voltage from the component VoltageC? Does this give less precise values, compared with the NI acquisition board? - Hui Kang Eric Keller wrote: Depends on your hardware. I'm measuring the voltage across a shunt resistor in the ground path of the power

[Tinyos-help] Link layer in CTP

2008-10-02 Thread Hui Kang
The TEP 123 about CTP says CTP must be compiled with link layer acknowledgment enable. However, in the application of TestNetwork, the makefile does not include CFLAGS += -DPACKET_LINK. Is that correct? Thanks in advance. - Hui Kang ___ Tinyos-help

Re: [Tinyos-help] Link layer in CTP

2008-10-02 Thread Hui Kang
I think it has been done by calling (ackPending !call PacketAcknowledgements.wasAcked(msg)) ? But why not using PackLinkC, which also provides link layer retransmission? - Hui Kang Hui Kang wrote: The TEP 123 about CTP says CTP must be compiled with link layer acknowledgment enable

Re: [Tinyos-help] tree level (hop count) information in CTP?

2008-10-01 Thread Hui Kang
The root can get the hop counter from getTHL. But how can a node infer the hop counter to root? - Hui Kang Omprakash Gnawali wrote: 2008/10/1 白惠文 [EMAIL PROTECTED]: Hi, How do I know which level a node is at in a tree (or how many hops it is from the root) using CTP? A node

Re: [Tinyos-help] tree level (hop count) information in CTP?

2008-10-01 Thread Hui Kang
Interface CtpPacketDaniel provides a command to get the THL. Patrick wrote: Hi All, I didn't understand. Who has the getTHL method? Thanks all My regards 2008/10/1 Hui Kang [EMAIL PROTECTED]: The root can get the hop counter from getTHL. But how can a node infer the hop counter

[Tinyos-help] Snoop in CTP

2008-09-30 Thread Hui Kang
]; I started the three nodes; node 3 (the root) can receive the packet from sourc, but node 2 (not root nor source) can not snoop the message. Is this correct? Thanks. - Hui Kang ___ Tinyos-help mailing list Tinyos

[Tinyos-help] Any bug in Snoop T2

2008-09-30 Thread Hui Kang
and the other as 2, 2 can not snoop the packet from 1. Is there any bug in snoop? - Hui Kang // $Id: RadioSenseToLedsAppC.nc,v 1.4 2006/12/12 18:22:49 vlahan Exp $ /* tab:4 * Copyright (c) 2000-2005 The Regents of the University

Re: [Tinyos-help] Question about TestFTSP

2008-08-19 Thread Hui Kang
I searched in the directory for the definition of the topology, but failed. Could you point out where the file is. Also it seems the TimeSyncPollC, the dedicated beacon sender does not exist. TestTimeSyncMessage has to be changed for a dedicated beacon sender. - Hui Branislav Kusy wrote: Hi,

[Tinyos-help] CCA Check in application layer.

2008-07-17 Thread Hui Kang
Dear All: In my tinyos-2.x application, I would like to check the channel before sending a packet. By copying the following code from CC2420TransmitP.nc, I found the congest is always set as TRUE even I have only one mote turn on. Could anyone help to solve this problem or any other smarter way

[Tinyos-help] Check CCA before transmission in Tinyos 2.x

2008-07-11 Thread Hui Kang
Dear All: In tinyos-1.x, I can check the CCA before calling send by TOSH_READ_RADIO_CCA_PIN. Is there a similar macro or function in Tinyos-2.x? Or how can I do this? Thanks. - Hui ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Check CCA before transmission in Tinyos 2.x

2008-07-11 Thread Hui Kang
Hui Kang wrote: Dear All: In tinyos-1.x, I can check the CCA before calling send by TOSH_READ_RADIO_CCA_PIN. Is there a similar macro or function in Tinyos-2.x? Or how can I do this? I found this macro works under 2.x. Thanks. - Hui

Re: [Tinyos-help] cannot found CC1000RadioC in tinyos2.0

2008-07-10 Thread Hui Kang
wang wei wrote: I got the answer in the TinyOS FAQ , it said If you wish to change the power level, wire to CC1000RadioC.CC1000Control in your application. Then call CC1000Control.setRFPower(value) But I cannot find the CC1000RadioC component in Tinyos2.0, is it replaced by other name or

[Tinyos-help] Installing XubunTOS on VMWare for Fedora 6 and 7

2007-09-28 Thread Hui KANG
Hi, all, I wrote a document about how to install Xubuntos on a Fedora core using VMware. Here is the link http://www.cs.binghamton.edu/~hkang/installingXtos-vmware.html ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Compiling Tossim from the Debian package

2007-08-23 Thread Hui KANG
Hi, Kevin, I installed tinyos-2.0 from the Stanford repository by apt-get install tinyos-msp430 and install tinyos-avr. Then for a simple application blink, make micaz and and make telosb work find. There is a lot of error message when compiling make micaz tossim. I pasted the message here.

Re: [Tinyos-help] AM_INTMSG or TOS_BCAST_ADDR

2007-08-20 Thread Hui KANG
The message of AM_INTMSG on the receiver will be handled by the corresponding message handler, i.e., the receiver application should have the same receiver[AM_INSTMSG]. IF you look further down, you will find the GenericComm actually have the default interface for all the incoming messages. Hui

[Tinyos-help] Install Tinyos2 from Ubuntu repository

2007-08-20 Thread Hui KANG
Hi, All, I tried installing tinyos-2.0.2 from Ubuntu repository. I tried apt-cache install tinyos and tinyos-avr. When install tinyos-msp403, however, I got these error. Reading database ... 121395 files and directories currently installed.) Unpacking avr-libc-tinyos (from

[Tinyos-help] Tinyos2.0 for Ubuntu feisty

2007-08-01 Thread Hui KANG
Hi, Does anyone know how to install tinyos-2.0 on a Ubuntu feisty 64 bit OS? Just find the instruction on the tinyos.net is for Ubuntu edgy. Thanks in advance. Hui ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] async and warnings

2007-07-06 Thread Hui KANG
This is because you assign a value to a global variable in an asys event. It should be protected by atomic. Hui Kang On 7/5/2007, Philip Levis [EMAIL PROTECTED] wrote: On Jul 5, 2007, at 9:36 AM, Jordi Casals wrote: Hi, I have a little problem. My program uses async events (from Uart0

Re: Fwd: [Tinyos-help] relationship between RSSI and distance

2007-07-06 Thread Hui KANG
Hi, I did some very similar experiment, but in outdoor environment. (with Tmote sky) The RSSI value seems Okay if the distance between two nodes is between 4 to 20 meter. You can find the paper http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?isnumber=4204176arnumber=4204945count=809index=767 On

Re: [Tinyos-help] questions on the interface CC2420Packet

2007-05-18 Thread Hui KANG
You can use CC2420Control.setRFpower. On 5/18/2007, Shuo Xiao [EMAIL PROTECTED] wrote: Hi all, I tried to use the command CC2420Packet.getPower to get the current transmission power, and the application wires the component CC2420PacketC. But why the data I got is 0, not the default tx power

RE: R: [Tinyos-help] write data on telosb

2007-05-17 Thread Hui KANG
Hi, try app/TestNewFlash; I can not remember the name exactly. Hui Kang On 5/17/2007, Micfox Micfox [EMAIL PROTECTED] wrote: I have exactly the same requirement and I also tried Logger.. But obivously Logger is not supported in telosb (when you tried to compile SenseLightToLog in telosb

Re: [Tinyos-help] tinyos2.0 installation on Windows Vista and Boomerang for Vista

2007-05-17 Thread Hui KANG
denied BTE, is Boomerang compatible with vista? Hui Kang On 3/3/2007, SeungWeon Park [EMAIL PROTECTED] wrote: R. Steve McKown wrote: On Friday 02 March 2007 18:36, Shuo Xiao wrote: Hi all, Just now I tried to install tinyos2.0 on Windows Vista Business, but there was a problem when

RE: [Tinyos-help] RSSI

2007-05-04 Thread Hui KANG
RSSI is really instable in indoor environment. I think you 'd better move your experiment into outdoor environment. I did it several month ago using Tmote, the result seems Okay. And we have a paper about this. You can find some data in it. Power-Aware Markov Chain Based Tracking Approach for

Re: [Tinyos-help] Is there any documents about mintroute?

2007-04-29 Thread Hui KANG
You can read this paper. A. Woo, T. Tong, and D. Culler. Taming the underlying challenges of multihop routing in sensor networks. In Proceedings of the First ACM Conference on Embedded Networked Sensor Systems, Nov. 2003. On 4/29/2007, roy liu ^-^ [EMAIL PROTECTED] wrote: hi! I want to

Re: [Tinyos-help] surge performance

2007-04-19 Thread Hui KANG
This is the link. http://www.moteiv.com/community/Change_the_default_UART_baud_rate On 4/19/2007, Michael Schippling [EMAIL PROTECTED] wrote: If the destination is the pc you may be limited by the serial port speed. There are some instructions for changing that speed, someplace... I probably

Re: [Tinyos-help] How to check if a packet has been physically transmitted ?

2007-04-17 Thread Hui KANG
You can enable the acknowledgment by MacControl.enableAck. On 4/18/2007, Thang Le [EMAIL PROTECTED] wrote: I need to find out if the transmission of a packet is completed at MAC layer (TinyOS 1.1.15 / Micaz). What I need to do is to change some radio parameters. So, I want to make

Re: [Tinyos-help] sending command to mica2 to start a counter.

2007-04-13 Thread Hui KANG
I did a similar think several weeks ago. I think you can achieve this way. 1: Add a data type in the command message that represents Start Leds 2: Modify the Java program of sending Command 3: Modify SimpleCmd that can handle this command. Hope it helps. Hui Kang On 4/12/2007, Dipti [EMAIL

Re: [Tinyos-help] Problem in getting neighbor ID and link quality

2007-04-11 Thread Hui KANG
Probably the value of neighborsize is greater than MHOP_PARENT_SIZE. I am not so sure. uint8_t retransmissions; uint16_t neighbors[MHOP_PARENT_SIZE]; uint16_t quality[MHOP_PARENT_SIZE]; } DataMsg; for (i = 0; i neighborsize; i++) {

Re: [Tinyos-help] Valid message format

2007-03-18 Thread Hui KANG
hi, I am using java based SF. The message format you want to send to the mote can be generated by MIG after you define some message format for your application. On 3/17/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I am using serial forwarder (C-based components). I would like to

Re: [Tinyos-help] TinyOS MICA2 MAC

2007-03-14 Thread Hui KANG
CC1000RadioIntM uses B-Mac. Hui Kang On 3/14/2007, jose m [EMAIL PROTECTED] wrote: Hello, I can't find documentation about TinyOS MAC for MICA2 mote. So, I read the CC1000RadioIntM.nc component. Now I understand the protocol, however, there is an aditional function associated to RSSI

[Tinyos-help] Tmote Sky external flash Read and write problem

2007-03-09 Thread Hui Kang
(); return SUCCESS; } event void Mount.mountDone(storage_result_t result, volume_id_t id) { if(result == SUCCESS){ call Leds.redOn(); } } The red led does not turn on. Any possible reaons? Thanks. Hui Kang ___ Tinyos-help

Re: [Tinyos-help] Stopping CC2420 radio

2007-02-18 Thread Hui KANG
The interface of SplitControl is what you want. You can call SplitControl.start and stop to let the radio on and off. Regards, Hui Kang On 2/19/2007, Leijun Huang [EMAIL PROTECTED] wrote: Hello, Could someone please tell me how to stop CC2420 radio in telosb while allowing other components

Re: [Tinyos-help] how can I read and write data in External Flash of Tmote Sky??

2007-02-04 Thread Hui KANG
Hi, I think this application is what you want. tinyos-1.x/apps/TestNewFlash On 1/30/2007, Shiplu khan [EMAIL PROTECTED] wrote: Hello Guys, I want to save some data in the External flash memory of Tmote Sky. HOw can I do that? Is there any documentation or example application program for this

Re: [Tinyos-help] how to create two differnt networks

2007-01-30 Thread Hui Kang
communication is broadcast. I think you can use different handler ID for two AM type so that they will not intervene each other. Hope it helps. Hui Kang ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin

Re: [Tinyos-help] some questions about memory management on Tmote Sky

2007-01-29 Thread Hui KANG
Hi, Yicheng, Have you found the answer to this question? If yes, I am very interested in the answer. Thanks. Hui Kang On 1/24/2007, yicheng [EMAIL PROTECTED] wrote: Hi Folks, I need to use a large block of memory in Tmote Sky, and I have some questions of how memory is organized in Tmote

Re: [Tinyos-help] How to get computational time of a function in tinyos1.x

2007-01-24 Thread Hui Kang
-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help I think you can use TimerMilliC to get the time before and after you run the task. Regards, Hui Kang ___ Tinyos-help

Re: [Tinyos-help] Looking for example code and projects dealing with aggregation of data packets at sensors

2007-01-11 Thread Hui KANG
Did you check TinyDB? Hui Kang On 1/10/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, We are currently working on data aggregation of packets on TinyOS. Is there any link to websites which gives us overview about how to code this in nesc i.e. sensors send packets to source and source

Re: [Tinyos-help] How to check if packet has been sent successfully ?

2007-01-09 Thread Hui KANG
The sendDone function only indicates that the message is put into the send stack, which done not necessarily mean that the message is received by the other node. I think you should use MacControl.enableAck to receive the acknowledgement. Regards, Hui On 1/9/2007, Heo Heo [EMAIL PROTECTED]

[Tinyos-help] Question on Default Command and Event implementation

2007-01-07 Thread Hui KANG
Dr. Levis: As you mentioned in the TinyOS programming book, default command and event implementations address the problem of parameterized interface. It provides a default implementation of command and event so that the user does not need to wire all the instances. However when I digged the code

Re: [Tinyos-help] How to implement a Timer fired every 1ms in tossim

2007-01-05 Thread Hui KANG
Hi, How about using TimerMilliC? It provides the resolution in Microsecond. Hui On 1/5/2007, roy liu ^-^ [EMAIL PROTECTED] wrote: hi everyone I want to implement a timer fired every 1 ms in tossim,but it is said that the TimerM could not provide a timer faster than 3ms. Is there anyone

[Tinyos-help] Bugs of the TinyOS programming book?

2006-12-27 Thread Hui KANG
Can anyone who read the TinyOS programming book by Dr. Leviw help me to clarify my following statement? The example in Listing 4.22 is a sync command. The variable state should be protected by atomic; otherwise it maybe updated by some async event. Then the following explanation in this book

[Tinyos-help] Mate on Telosb in tinyos 1.1.15

2006-09-13 Thread Hui KANG
Dr. Levis: I checked out tinyos and mate from CVS, and tried to make telosb and mica2. After I comment include Ident.h in tos.h, I can make mica2 under BombillaMica successfully. But under BombillaTelosb, it has following error message: tants.h -o vm_specific/BombillaTelosBVMConstants.java

[Tinyos-help] Compile Mate error message

2006-09-11 Thread Hui KANG
Dr. Levis: I installed Mate on tinyos-1.x v 1.1.15. When I make pc for BombillaMica, I have the following error message. I checked out VM and script from CVS. Could you check it? Thanks. In file included from C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/tos.h:190 :

[Tinyos-help] Re: Compile Mate error message

2006-09-11 Thread Hui KANG
[EMAIL PROTECTED] wrote: On Sep 11, 2006, at 2:54 PM, Hui KANG wrote: Dr. Levis: I installed Mate on tinyos-1.x v 1.1.15. When I make pc for BombillaMica, I have the following error message. I checked out VM and script from CVS. Could you check it? Thanks. In file included from C:/PROGRA~1

Re: [Tinyos-help] Displaying RSSI value in TOSSIM using TinyViz

2006-09-05 Thread Hui KANG
Before you display the RSSI value, you should create a model that can simulate the transmission condition such as distance, power, etc. On 9/5/2006, Tarun Bansal [EMAIL PROTECTED] wrote: What I meant was that whether some Plug-in can be developed in TinyViz without the underlying support

[Tinyos-help] Maté on Boomerang2.0.4 and Tmote

2006-09-03 Thread Hui KANG
Dr. Phil: I have some questions about running Mate on Tmote motes. I am working under Boomerang 2.0.4. 1: I successfully went through Lesson 1 Building and Using Maté of the tutorial using BombillaMica and make pc. However, when I tried to compile the program for telosb under BombillaTelosb, it

Re: Re: [Tinyos-help] How to access the flash on TELOSB

2006-08-31 Thread Hui KANG
Use BlockStorageC, which implements blockread and blockwrite. On 8/31/2006, Vincent [EMAIL PROTECTED] wrote: Dear Mr Lee, Sorry to bother you again. I use Telos B and Tinyos 1.1. So there is no tests folder in my apps. Where can I get some more information for my specific case? Again,

Re: [Tinyos-help] Which is better TOSSIM or VinyViz ?

2006-08-29 Thread Hui KANG
TOSSIM does not support CC2420 transceiver. So you have to use the real mote to test your program. Regards, Hui On 8/29/2006, bhushan bhatt [EMAIL PROTECTED] wrote: Hello everyone, I am working on an application for wireless ad-hoc networking with Tmotes. I want to verify my

Re: [Tinyos-help] Delta application -help required

2006-08-29 Thread Hui KANG
i am working on sampling the ADC value instead of DEmosensorc...in the delta application provided by moteiv. i am glad to say tht ..i hav successfully compiled it ... and installed..it worked... the problem is when i tried to undrstand the program..i am facing some difficulties - i

[Tinyos-help] Storage of Tmote sky mote

2006-08-19 Thread Hui KANG
Dear All: Does the storage architecture of Tmote sky support Logging and Small objects for sensor and small data? I found in /moteiv/tos/lib/Flash, the BlockStorageC provides interface Mount[blockstorage_t blockId]; interface BlockRead[blockstorage_t blockId]; interface

Re: [Tinyos-help] notice broken url

2006-08-15 Thread Hui KANG
Do you include Deluge? I think it is the message from Deluge. On 8/15/2006, Claro Noda [EMAIL PROTECTED] wrote: Sorry here is the correct url: http://www.moteiv.com/support/tmote-message-format.html thnx. C. -- Forwarded message -- From: Claro Noda [EMAIL PROTECTED] Date:

Re: [Tinyos-help] Uses parameterized interfaces

2006-08-13 Thread Hui KANG
In Component AM, you should use provides interface. If you use uses, IF will not be definied in AM. Then how can other components be connected to it? You can modify as follows: configuration A { provides interface IF[uint8_t id]; Q.1 ... implementation { components AM, ProvidesofIF;

RE: [Tinyos-help] Re: IEEE-802.15.4 - Beacon Mode

2006-08-08 Thread Hui KANG
The SP implemented by Dr. Polastre support 802.15.4. Each node is a coordinator and send Beacon message. I think it works well for low power listening by synchronizing nodes in the network. Especially, every node will send beacon message with its schedule; others can receive the message and

[Tinyos-help] Question on TEP102 Timer

2006-08-04 Thread Hui KANG
Hi, Cory, In List 4 HIP requirements of TEP102 Timer, you describe two components must be provided. Should TimerMilliC be a generic component? Regards Hui ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Help. How to change the default LPL state?

2006-08-02 Thread Hui KANG
Hi, Liu Jia, You can use the componenet CC1000RadioIniM, and then call the command SetListeningMode(3) to turn radion into low duty cycle. Regards, Hui On 8/2/2006, Winston Liu [EMAIL PROTECTED] wrote: Hi, I'm using Surge_Reliable and met a problem when trying to change the default LPL state.

Re: [Tinyos-help] Re: [Question] about task in book TinyOS Programming

2006-08-01 Thread Hui KANG
and make them more understandable? Thanks. Regards, Hui On 8/1/2006, Philip Levis [EMAIL PROTECTED] wrote: On Jul 31, 2006, at 9:16 AM, Hui KANG wrote: Dr. Levis: There is some question I still can not understand fully. 2: Second, to prove there exists a call loop, you modify Read.readDone

[Tinyos-help] Re: [Question] about task in book TinyOS Programming

2006-07-31 Thread Hui KANG
Dr. Levis: There is some question I still can not understand fully. 2: Second, to prove there exists a call loop, you modify Read.readDone as in pp 32. Herein, it calls Read.read() in Read.readDone(). I agree that in this example call loop occurs. So the modified code in pp 33 post task