1
00:00:00,150 --> 00:00:06,360
The first thing that we could do is just wave over the device initialization is success, so we haven't

2
00:00:06,360 --> 00:00:10,500
changed the rate or the bar rate for any walk rate.

3
00:00:10,500 --> 00:00:15,060
So by default, whatever it is set in and we'll take you to the same rate, it will be working.

4
00:00:15,060 --> 00:00:17,210
That is one one five two zero zero, right?

5
00:00:17,720 --> 00:00:21,470
It will just go away and worse, try to program an effigy.

6
00:00:21,560 --> 00:00:21,870
Right.

7
00:00:21,900 --> 00:00:23,650
This is the first step that we follow.

8
00:00:23,670 --> 00:00:25,980
Once we complete development of an application.

9
00:00:26,870 --> 00:00:30,740
Now, what are we going to do is we will just be connecting and down.

10
00:00:30,980 --> 00:00:34,950
So I have my objection for and will be setting up the default.

11
00:00:35,450 --> 00:00:35,800
Great.

12
00:00:36,050 --> 00:00:39,840
That is one one five two zero then will proceed to execution.

13
00:00:40,300 --> 00:00:41,740
Now we are already calling.

14
00:00:41,750 --> 00:00:42,530
You are doing it.

15
00:00:42,860 --> 00:00:49,010
So this will initialize our Typekit and we are expecting to see what initialization Texas will message,

16
00:00:49,010 --> 00:00:49,280
right?

17
00:00:49,720 --> 00:00:53,690
They can see we are receiving you, what initialization successful.

18
00:00:53,990 --> 00:00:56,390
So this basically suggests that our.

19
00:00:57,290 --> 00:01:03,380
Initialization process is completed successfully right now, you could utilize the functions which we

20
00:01:03,380 --> 00:01:09,780
used in the past, such as in print to send the data to work on look, and that will also work fine.

21
00:01:09,800 --> 00:01:12,910
So we just go ahead and try to add a printer.

22
00:01:13,680 --> 00:01:14,390
OK, here.

23
00:01:14,630 --> 00:01:16,580
Let me just add hello.

24
00:01:17,740 --> 00:01:24,430
What right now, if you just see cool and try to again relaunch a simulation?

25
00:01:25,210 --> 00:01:27,730
This function will work similar.

26
00:01:28,690 --> 00:01:33,040
To our previous case, because we successfully able to initialize are you are right now, you could

27
00:01:33,040 --> 00:01:35,200
see be able to see hello.

28
00:01:35,620 --> 00:01:35,950
Right?

29
00:01:36,970 --> 00:01:45,880
Now, what we could do is we could just try to utilize the EPA that we have in a negative light just

30
00:01:45,880 --> 00:01:49,690
to explore the different things that we could do with you.

31
00:01:49,690 --> 00:01:50,590
Like this, right?

32
00:01:50,950 --> 00:01:52,900
So let it just go ahead and try to.

33
00:01:54,170 --> 00:01:56,820
Just go through with a different set.

34
00:01:56,840 --> 00:01:57,420
Yeah, right.

35
00:01:57,530 --> 00:02:03,560
We have something called a self-portrait that could be used to set a user specific body data again,

36
00:02:03,560 --> 00:02:08,490
going back to a blog design and changing the body will be a difficult process, right?

37
00:02:08,490 --> 00:02:12,440
So if you just remember when we reconfigure AP?

38
00:02:13,910 --> 00:02:20,890
Again, when we go to a PSP configuration, you have a gentle tap, so there you could see we have a

39
00:02:21,160 --> 00:02:25,430
great option for our, you know, here we could go and teach.

40
00:02:25,450 --> 00:02:28,990
This is of my local method that we have.

41
00:02:29,140 --> 00:02:35,440
But once we reconfigured it, we need to again perform all the process, and that will be an updated

42
00:02:35,740 --> 00:02:39,560
hardware specification that we will be working in in this right.

43
00:02:39,640 --> 00:02:41,920
That is the one of the process that we have with this.

44
00:02:43,270 --> 00:02:49,430
The next one could be, you know, we could utilize the EPA that we have so software and others to dynamically

45
00:02:49,440 --> 00:02:52,660
variable rate, and that is what we will be demonstrating.

46
00:02:52,660 --> 00:02:54,370
Plus, so let me just copy this code.

47
00:02:54,650 --> 00:02:55,510
Okay, go ahead.

48
00:02:56,170 --> 00:03:03,630
Now, just before and look OK, will just be utilizing board, right?

49
00:03:03,640 --> 00:03:05,350
So these are two arguments.

50
00:03:05,380 --> 00:03:10,720
First one is an instant structure and second one is a moderate OK, which is the value of water that

51
00:03:10,720 --> 00:03:11,830
we want to set, right?

52
00:03:13,080 --> 00:03:16,470
So for us and you, what instance the structure is you?

53
00:03:16,990 --> 00:03:17,280
Right?

54
00:03:17,610 --> 00:03:20,700
And the bar that we want to see is 1962.

55
00:03:20,970 --> 00:03:22,740
This is the boundary that we want to set.

56
00:03:23,130 --> 00:03:26,980
OK, let me just see you are code and try to again relaunch a symbol you should know.

57
00:03:27,250 --> 00:03:32,610
It's terminal once you go to work at one one five two zero zero.

58
00:03:33,030 --> 00:03:33,980
So you do.

59
00:03:33,980 --> 00:03:36,950
We want to see it, which could not be taking place, right?

60
00:03:37,320 --> 00:03:42,990
Because it is operating at a different date and you are is configured to operate differently.

61
00:03:43,050 --> 00:03:43,300
Right.

62
00:03:43,320 --> 00:03:45,930
So we'll just be clearing up.

63
00:03:45,930 --> 00:03:52,440
The console will be disconnecting our is to get the go ahead to connect and instigate a minute and we'll

64
00:03:52,440 --> 00:03:56,460
just be changing the body to whatever body that you have specified.

65
00:03:56,670 --> 00:04:00,810
So once you do this modification and try to execute the code.

66
00:04:02,180 --> 00:04:05,540
So now you could see how the world is sprinting, correct, right?

67
00:04:05,540 --> 00:04:11,330
So this is allowing us to this step allowing us to dynamically variable.

68
00:04:11,810 --> 00:04:18,540
So this is that one day that we get when we work around with the EPA for the specific bathing.

69
00:04:18,830 --> 00:04:22,220
Now what are we going to do it instead of utilizing a digital print?

70
00:04:22,400 --> 00:04:29,330
Let it just explore the APIs that are available for sending and receiving data, because these are the

71
00:04:29,330 --> 00:04:32,860
two most frequent things that you will be doing with and you are.

72
00:04:33,080 --> 00:04:41,330
So instead of utilizing the abstract functions of the printer, we could always work around with this

73
00:04:41,420 --> 00:04:43,010
function that an average degree.

74
00:04:43,340 --> 00:04:51,290
So we have see what you're saying, which could be used to saying the data specified in a buffer to

75
00:04:51,560 --> 00:04:52,930
the console right now.

76
00:04:52,950 --> 00:04:59,090
Did the operator getting that to move so it there'd be a pool mode or an interruptible move since we

77
00:04:59,090 --> 00:05:05,870
have not disclosed anything related to an interest, not be understanding it right now, OK, instead

78
00:05:05,870 --> 00:05:07,070
of going to be utilizing a pool.

79
00:05:07,280 --> 00:05:11,630
So what we'll be doing in the pool more less will be specifying a buffer.

80
00:05:11,820 --> 00:05:18,200
OK, then we'll start transmission and then we've got to continuously check whether sending is complete

81
00:05:18,200 --> 00:05:18,890
or not, right?

82
00:05:19,220 --> 00:05:24,650
So whenever we need to wait for certain process to complete, that is what we refer to as a pool, right?

83
00:05:25,250 --> 00:05:27,800
And in an interview driven process.

84
00:05:28,160 --> 00:05:36,860
So as soon as our process of sending is completed, we will automatically getting a notification from

85
00:05:36,860 --> 00:05:39,290
an interrupt that our transmission is accomplished.

86
00:05:39,510 --> 00:05:45,440
So this will be the references that we have will be predominantly focusing on the pool mode right now

87
00:05:45,500 --> 00:05:48,530
because we haven't covered anything related to Intel, right?

88
00:05:48,800 --> 00:05:52,340
So let it just first, Jack and how we could send the letter right.

89
00:05:52,640 --> 00:05:58,920
And if you just click and F3 to explore what district and state, this again require three arguments.

90
00:05:58,920 --> 00:06:00,490
So we have an instant structure.

91
00:06:00,500 --> 00:06:03,140
You have both pointer, right?

92
00:06:03,140 --> 00:06:06,650
So this could be simply the name of our.

93
00:06:07,670 --> 00:06:10,280
How real the data that we're going to see, right?

94
00:06:10,310 --> 00:06:13,580
That could also serve as the pointer for our entire data.

95
00:06:14,060 --> 00:06:15,320
And then the number of white.

96
00:06:16,280 --> 00:06:18,560
So these are the three arguments that we have for us.

97
00:06:19,250 --> 00:06:22,780
And then this basically returns you 32 right to.

98
00:06:23,710 --> 00:06:28,810
And this reduced the number of bite actually set, right, so we will be specifying a bit.

99
00:06:29,020 --> 00:06:36,640
So this basically means that the bite that we specify, the number of bite that we specify for transmission

100
00:06:36,640 --> 00:06:43,000
may not be sending a single great or we need to do so in a pool mode.

101
00:06:43,000 --> 00:06:44,470
We need to continuously.

102
00:06:45,480 --> 00:06:52,230
Sending up the data, OK, so the maximum capability that we get is we could send max as much data as

103
00:06:52,770 --> 00:06:54,240
people can before.

104
00:06:54,660 --> 00:06:56,730
This is the maximum capability that you get.

105
00:06:57,060 --> 00:07:03,720
Whatever the size that we have 40 people, that is the maximum data we could say, OK and then any data

106
00:07:03,720 --> 00:07:08,070
aggregated and that people say is we need to repetitively sandy, right?

107
00:07:08,730 --> 00:07:14,700
And then in a pool mode, we need to wait until the data transmission is completed that we already know

108
00:07:14,700 --> 00:07:16,350
when it went into more danger.

109
00:07:16,350 --> 00:07:21,030
Spangler will continue sending the data until they die before has been too great.

110
00:07:21,040 --> 00:07:23,640
So this is something different as compared to cold moderate.

111
00:07:23,650 --> 00:07:29,160
So here we need to take care of where there are already descend or not into know interviewed.

112
00:07:29,470 --> 00:07:34,260
The handler will continue sending that it will take care of our entire data.

113
00:07:34,350 --> 00:07:34,620
Right.

114
00:07:35,040 --> 00:07:36,060
So remember this fact?

115
00:07:37,110 --> 00:07:44,990
So first argument is the you are instance structure, the second one is the pointer to a buffer of data

116
00:07:45,030 --> 00:07:47,400
and third one is the number of high tech we want to.

117
00:07:47,910 --> 00:07:51,810
And that's basically written the number of bytes which are sent right.

118
00:07:52,150 --> 00:07:55,080
So let me just go to our mean application.

119
00:07:55,290 --> 00:07:55,590
OK.

120
00:07:56,130 --> 00:07:59,040
And here we will be declaring a zoom.

121
00:07:59,040 --> 00:08:06,480
One or three of you know, you could clearly see that we saying bye bye bye.

122
00:08:06,510 --> 00:08:06,790
Right?

123
00:08:07,170 --> 00:08:09,030
And that could be all like this.

124
00:08:09,030 --> 00:08:12,510
So here we are expecting a pointer of us Typekit.

125
00:08:12,900 --> 00:08:17,610
So this basically means we are sending the data, by the way, to declare clearly Wait.

126
00:08:18,120 --> 00:08:18,450
OK.

127
00:08:18,720 --> 00:08:21,900
Exactly the same time that our function is expecting from us.

128
00:08:22,290 --> 00:08:24,450
And we'll just be naming this as data.

129
00:08:24,450 --> 00:08:29,280
So we will not be specifying the size because we want to specify a static detail here.

130
00:08:29,670 --> 00:08:29,970
OK.

131
00:08:30,150 --> 00:08:32,820
So let me just call hello looking.

132
00:08:34,370 --> 00:08:34,730
OK.

133
00:08:36,230 --> 00:08:39,950
And then we'll be utilizing the plaintiff, no, right?

134
00:08:40,160 --> 00:08:41,990
So this is.

135
00:08:43,550 --> 00:08:50,630
An array of you where we say to the reader that we want to say right now will be counting the number

136
00:08:50,630 --> 00:08:53,290
of bytes that we require.

137
00:08:53,540 --> 00:09:01,190
So for each character we required a single by two one two three four fight space consist of one byte

138
00:09:01,220 --> 00:09:04,960
right two six, seven, eight, nine, 10 and 11 data.

139
00:09:04,970 --> 00:09:08,580
We have 210 11 byte that we are planning to send.

140
00:09:08,810 --> 00:09:14,840
So we already set up a body now will just be calling the send function that we have.

141
00:09:15,650 --> 00:09:20,270
The first thing that we specify is an instance, which is you are right.

142
00:09:20,540 --> 00:09:24,190
The second thing is the pointer to the top of it.

143
00:09:24,200 --> 00:09:29,570
So we could just be accessing it by specifying the name of body that is data.

144
00:09:29,840 --> 00:09:33,620
And then the number of byte that we are targeting, that is still right.

145
00:09:34,130 --> 00:09:39,170
So once you do this now, since we are working in a pool mode, we will not be getting automatically

146
00:09:39,560 --> 00:09:43,370
any indication, whether data is saying or not.

147
00:09:43,610 --> 00:09:45,950
So this function do returns.

148
00:09:46,520 --> 00:09:48,170
The number of bytes which are sent to.

149
00:09:48,170 --> 00:09:53,980
We could just be comparing whether all the database that is 11 bytes are saying or not.

150
00:09:53,990 --> 00:09:56,840
So as soon as our count reaches to 11.

151
00:09:56,980 --> 00:10:03,950
OK, we will be coming out of low as we could just be waiting there or other option that we have is

152
00:10:03,960 --> 00:10:07,190
so what we could right over here is a.

153
00:10:08,560 --> 00:10:14,410
Ready to declare the winning OK, and that will basically be storing bite.

154
00:10:15,420 --> 00:10:16,470
S. Right.

155
00:10:17,280 --> 00:10:21,780
And this will be a Virgin Bush right to buy.

156
00:10:22,590 --> 00:10:23,820
So you might think.

157
00:10:24,990 --> 00:10:30,450
Is not equal to the living will just be sending the need to.

158
00:10:31,410 --> 00:10:31,770
OK.

159
00:10:32,340 --> 00:10:37,470
That basically means as soon as and equals to leaven it as soon as we say all the.

160
00:10:38,660 --> 00:10:42,340
Today, we will just be coming out of this, right?

161
00:10:43,440 --> 00:10:46,200
No white sand will be initializing towards you.

162
00:10:46,320 --> 00:10:53,100
OK, so let me just try to go it and see whether this is working at Lake, so we'll just be clearing

163
00:10:53,100 --> 00:10:56,280
up the council and now will again be relaunched.

164
00:10:56,290 --> 00:10:57,180
You got an application.

165
00:10:58,410 --> 00:11:03,690
So if you are analyzing and sticking with this logic, also equally able to sing then has the right

166
00:11:03,690 --> 00:11:10,850
to what is happening here is we are waiting in the body count reaches to 11, right?

167
00:11:11,160 --> 00:11:14,640
This is one of the methods that we have is that the method could be.

168
00:11:14,940 --> 00:11:20,880
Now this is again a pull method because we are waiting till bytes and reaches to a level, right?

169
00:11:21,510 --> 00:11:27,930
So we are not getting any direct notification from the pace at which you could get it inch.

170
00:11:28,170 --> 00:11:32,970
Right now, we will utilize the same logic, but here instead of.

171
00:11:34,280 --> 00:11:41,210
Utilizing this when we could just go ahead and try to look for an EPA, which could be helpful in this

172
00:11:41,390 --> 00:11:49,540
specific scenario, so we might be having an EPA that could be used to wait until you are completely

173
00:11:49,610 --> 00:11:51,110
sending it directly here.

174
00:11:51,110 --> 00:11:54,530
You really see we have you are obviously sending.

175
00:11:54,530 --> 00:11:56,480
So if you explored this function.

176
00:11:57,140 --> 00:12:01,810
No, this function reminded to specify you are just sending a data, right?

177
00:12:01,820 --> 00:12:03,410
So if you what is?

178
00:12:04,440 --> 00:12:08,250
Sending the data it will read and true as it will do it in the state.

179
00:12:08,280 --> 00:12:14,100
Now this function could be utilized to wait till we send the mentioned by straight white.

180
00:12:15,040 --> 00:12:22,810
We'll just be specifying dysfunction in this, just while the incidence rate, the instant structure

181
00:12:22,810 --> 00:12:31,090
is, you know, what will happen is if we act like this, we send the leader OK and this will be true,

182
00:12:31,780 --> 00:12:34,300
OK, until we are sending a data.

183
00:12:34,300 --> 00:12:42,130
So until we send an 11 bytes of data that you specified over here, this will be continuously returning

184
00:12:42,130 --> 00:12:48,280
us to and when, while it's true, it will be waiting with you, right?

185
00:12:48,280 --> 00:12:55,410
So as soon as we complete sending all the data, what will happen is this will return for what's right.

186
00:12:55,420 --> 00:12:58,840
So as soon as the region falls away, zero.

187
00:12:58,930 --> 00:13:05,250
This basically means also we'll be coming down right with here and then we'll just returning this year.

188
00:13:05,560 --> 00:13:07,630
This is an entire crew that we're going to work.

189
00:13:08,200 --> 00:13:13,510
So let me just clear our previous output and try to perform a simulation again.

190
00:13:13,510 --> 00:13:15,400
So this is the second we that we have.

191
00:13:15,400 --> 00:13:23,170
Again, we are meeting, but here we are utilizing the EPA that we have with, you know, again, you

192
00:13:23,170 --> 00:13:25,210
could see we are getting the same it, right?

193
00:13:25,540 --> 00:13:28,450
So here we understood how we could variable rate on the go.

194
00:13:28,720 --> 00:13:34,810
And the second thing is how we could send the data and the what we call a target next to use this data

195
00:13:34,810 --> 00:13:41,950
that we are sending, we try to rescue back the data and then we'll just be comparing weather data that

196
00:13:41,950 --> 00:13:47,950
we have is matching to the data that we are receiving, right, so that we we will be understanding

197
00:13:47,950 --> 00:13:50,050
how we could receive the data from where you are.
