PIC18 SHA1, HMAC-SHA1 and HOTP Generator

This is my Fourth week working in AESTE and i got my PAY!!! Woots~ I’m starting to get comfortable and used to the working environment here, everyday having something to look forward to is really fun. Well for this week I continue on the topic about implementing HOTP. SHA1 calculation was successfully tested and very straight forward to implement just type the following code (with HASHES.c and HASHES.h library included) BYTE TEST1[] = “abc”; HASH_SUM sha; SHA1Initialize(&sha); //HashAddData(&sha,”abc”, 3); //not Read more

Fun with Javascript

Fourth week my internship in Aeste has officially passed, I must admit it is a pleasure working here. I spent the week continuing my work on achieving my first task, which is to integrate IO signals to jointJS. Last week, I talked about generating text files using boost::filesystem. The file was generated in the JSON format which listed some important data. Initially, I planned to use Wt Json library to transmit the data to the Javascript component but my colleague Read more

C++ and Boost Regex

Well, this week I have finally completed some tasks, although it’s a slow progress, but I’m satisfied with myself. FYI, I had numerous encounters with pointer and addresses. In one of my tasks, I had to assign preset addresses to an object. Usually, once we declare a variable the address of the variable is automatically set. What if we want to set an address to a variable? A beginner as I am, I actually thought the correct way to do Read more

Demosaicking Approach in C

This week, I had been spending time searching on way to test the demosaic algorithm. I did a misunderstanding on previous week, that there is a process between the image sensor output and raw image. The Raw image is directly the output from the image sensor output itself. Well, I could not judge the statement until I actually prove it myself. As I searched through the internet on the way to verify the statement, I found this link that actually describing Read more

TCPServer with CORS and HOTP on PIC18

This is my third week in AESTE, I guess my project is still progressing smoothly~ I started the week with writing a very simple TCP server socket for testing purposes and then proceed on adding more features into the code. TCP server socket programming is really straight forward just: OPEN socket, Then LISTEN for incoming messages, ACCEPT the connection from client, And lastly SEND and RECEIVE data. Microchip Technology provided a really good TCPServer example code (from TCPIP source code), Read more

Authentication with Wt and OAuth2

As I am progressing, the goal seems to be getting clearer and closer but yet not reachable. My main focus is to enable saving/updating/deleting of files while working on one’s projects. So far my authentication functions smoothly. I am to retrieve access tokens in exchange of the request token in the OAuth2 process. This will help retain information for an individual user to continue working without having to re-authenticate or refresh. These information along with user account information and cookies Read more

Further into my Project

With one more week down, I seem more focused and result-oriented on my project. Working with this makes me both excited and anxious. At times, whereas the frustration of codes not working becomes immense and adds to the stress while at other times, it acts as a push to do more, to look deeper or even maybe, sometimes, to take a step back and look at the bigger picture. I can definitely say now, I know what I am doing, Read more

CCD Image Sensor

This week, I have to choose which area of chip design that I am going to involved in, and I decided to work on the accelerator for chip design. I had chosen to work on the accelerator for Image Sensor, to accelerate the image sensor output into a raw image that looks real, which is a challenging task for me. Understanding the Image Sensor In order to understand how image sensor produce color, I had read a lot of information about Read more

More on Network Programming

This week just goes by so quickly, and it is a week where i do not have a senior intern to help out with my project. My this week challenge is to implement SSL with PIC18F. I’ll be using the TCPIP source code provided by Microchip Technology for my project. I start with preparing a project folder that is able to enable SSL stack. The process of doing this is pretty straight forward, first is to include BigInt.h, RSA.h, ARCFOUR.h, Read more

Ignorance is not Bliss

Hi everyone, aeste works is now occupied by four interns. Our veteran, khai yong (Peter), my colleague + current uni-mate, Alex, maisha who is an EE student in APU and lastly yours faithfully. If anyone is looking for a challenging internship that will test you to your limit, do send your application to Aeste works.  My second week ended quite abruptly. Here I am, still dazed by the complexity of the Wt/Witty platform, which is used to build to the Read more