×

Happy to Help!

This website doesn't store cookies. Enjoy the experience, without worrying about your data!

Great, thanks!

Monthly Archives: January 2018

  • 0

5 Best Practices for Porting of Android OS to the Embedded Platforms

Android is undoubtedly one of the most successful Linux based operating systems in the world.

Although it gained prominence with its implementation in smart phones and later in wearables, porting of Android OS in embedded systems has also recently garnered a lot of attention.

Starting with consumer electronics like set-top boxes, smart televisions and gaming consoles, porting of Android is also very popular fo the automotive and IoT applications like Infotainment, HUD and likes.

One of the most striking advantages of porting Android OS to the embedded platforms is the compatibility of developed applications for one platform across different platforms with minimum tweaking.

As we move forward, we will discuss more such advantages and how to go about porting Android to the embedded systems.

What is Meant by Android OS Porting?

Android Porting for Embedded PlatformsOS porting in its general terms refers to the modification of the operating system to make it suitable to run on a different hardware architecture than the OS is intended for.

For instance, if a Linux OS is designed to originally run on a personal computer based on Intel X86 or X64 architecture but business-use requires it to be loaded to an embedded system, some changes in the Linux OS is mandatory.

This set of changes is called OS Porting and when the operating system to be ported is Android, the process becomes Android Porting.

Android’s Compatibility with Embedded Platforms

Android OS runs on a Linux Kernel and its development and testing have been performed on various ARM platforms. Therefore, porting Android to an ARM-based embedded system does not require many changes.

Since, Android OS also finds its implementation in Automotive industry, porting Android to I.MX6 (a widely used hardware platform in multimedia applications) is also quite prevalent these days. Such porting will also require BSP (Board Support Package) customization.

BSP is beyond the scope of the blog and will be discussed in more detail in upcoming blogs.

P.S: In a nutshell, a BSP is an interface that enables the communication between the OS kernel and the hardware assets like microcontroller etc.

Best Practices for Porting of Android to the embedded platforms

As Android stack is built on top of a Linux Kernel, Android porting starts with the porting of the kernel and then the Android Stack.

However, before the actual porting is executed, following are some of the best practices one can follow to ensure efficient and successful Android porting.

  • Always design a 2 Stage Bootloader: The first step of Android Porting is to install the bootloader. For X86 platform, one of the widely used bootloaders is GRUB. The reason for using a 2 stage bootloader is to have ample space for installing a 32-bit kernel along with error-handling codes.
  • Low memory footprint for the bootloader: Memory footprint is the amount of main memory required for running of any program. By keeping the memory footprint of the bootloader low, maximum memory is made available for the main application that is designed to solve a specific business problem/use-case.
  • Code as per Linux/Android standards to ensure bug-free drivers: This goes without saying that the driver customization you make while Android porting must conform to the Linux/Android coding standards.

    This ensures bug-free and easily maintainable drivers. One of the pointers that the developers also need to keep in mind is that the code is free from any unused or uninitialized variables.

  • Fault-handling and error recovery implementations: Handling exception is not enough if you wish to keep the Android OS up and running at all times in an embedded environment. As an Embedded System Developer, one should make sure that the OS is able to recover from the error and report the cause.
  • After-boot practices: In the final step of porting, the Android kernel merged with the reference kernel is configured and built and Android file system is setup. After the booting is executed, one of the most common mistake is to expect Android file system to offer similar functionality as Linux file system or work like it. This needs to be avoided.

Although Android was built keeping mobile phones in mind, its potential as a preferred OS for embedded system is quite evident.

Consumer electronics, automotive and IoT are some of the industries that are readily embracing Android.

It is important that the product engineering services companies and the embedded system developers must develop relevant expertise and experience to effectively partner with customers for successful Android porting projects.


  • 0

Integration of CAN Stack and UART Based Bootloader for Electric Vehicle ECU

 
Customer

Our client is a highly reputed Fortune 500 automotive Tier-2 supplier. They command a sizeable market share in the automotive ECU business.

Interestingly, in this project we also worked in close collaboration with the Electric Vehicle OEM who our customer (Tier-2 Supplier) was supplying the Automotive ECU (electronic control unit)
 

Business Challenge

  • The challenge was to develop an electric vehicle solution that would facilitate a 2-way wireless communication between the automotive ECU and the remote server.
  • This was required for the purpose of OTA (Over the Air) ECU reprogramming as well as transfer of the CAN data (vehicles’ speed and other diagnostic metrics) to the remote server.
  • The wireless controller entrusted with the task to communicate with the remote server had to take in the information from ECU Microcontroller and hence a customized communication protocol with message configuration was also required.
  • The Electric Vehicle OEM was also in need of a CAN Stack solution. This was required to collect vehicle data through OBD port for ECU microcontroller
  • Automotive protocol stack development requires specialised software and hardware skills and is also a time-consuming process. This has direct impact on the overall ECU product development cost and vehicle’s time-to-market .
  • Our ready-to-deploy CAN stack solution, expertise in Bootloader development and integration to ECU hardware impressed the clients and they were happy to have us on-board.

Microcontroller with Wireless Controller
Connectivity of Microcontroller with Wireless Controller

 

Embitel Solution

  • CAN stack based on ISO 15765 was integrated to the Microcontroller to facilitate communication between the microcontroller and the vehicle’s OBD port.
  • UART based Bootloader was integrated to the Microcontroller to enable OTA (Over the Air) ECU in-vehicle reprogramming and application upgrade through the remote server.
  • A customized protocol based on UART to facilitate the communication between the Wireless controller and the Microcontroller was developed.

 

Impact

  • With our pre-tested CAN Stack solution, customized protocol, and Bootloader, our client could provide the desired electric vehicle ECU to the OEM in just 1 month time instead of originally estimated 6-7 months, had the stack been developed from scratch.
  • This brought down the cost of development and time-to-market considerably.

CAN-URT Interface Design
CAN-URT Interface Design

 

Tools and Technologies

  • Hardware Platform: Freescale Microcontroller
  • Software IDE: Code Warrior
  • Simulator: Busmaster (Software), Value CAN (Hardware), Docklight, Tera Term

  • 0

Why is Magento the Best B2B Ecommerce Platform for Ecommerce Website Development?

Ecommerce Website Development
 
The B2B Ecommerce website development market is rapidly growing and B2B companies have realized the effectiveness of ecommerce.

B2B businesses have started treating ecommerce as a channel to not only engage with customers and achieve sales conversion but also to collect first hand data about the customer preferences and other details.

Like B2C, B2B commerce is also a fiercely competitive business segment. Protecting the market share from behemoths like Amazon is the priority for the large distributors and manufacturers.

Many B2B companies have started looking at ecommerce as a strategy to retain customers and build a loyal customer base.

Market research and B2B ecommerce

Forrester research predicts that companies will spend $2.4 billion on B2B commerce platforms by 2021.

Cloud based solutions are set to dominate the market as on-premise solutions are becoming less effective and are inefficient in handling the growing demand of the market in terms of content management, personalization and security.

Magento commerce has been named as a leader in the B2B commerce suite space in a recent report from Forrester research, “The Forrester Wave™: B2B Commerce Suites For Midsize Organizations, Q3 2017”.

Forrester states that Magento is the “best fit for mid-sized B2B companies that want an open, feature-rich solution that can be extended easily and inexpensively.”

Quotes from Mark Lavelle, CEO of Magento Commerce

“We’re seeing a wave of global demand as more B2B companies adopt digital strategies driven by the desire to meet heightened client expectations and the need to differentiate through personalized, self-service experiences across multiple channels,” said Mark Lavelle, CEO of Magento Commerce.

Now let’s look at the reasons why Magento Commerce has been recognized as the leader in B2B Commerce segment by Forrester.

Magento Ecommerce Platform supports:

Personalized Customer Experience:

Personalization is the key for the success of any ecommerce business, especially for the mid market B2B companies. Magento is highly customizable and has extensions to provide customers a personalized buying experience using the customer data.

Magento is highly flexible to adapt to the growing market demand with features like machine learning, analytics and reporting to support merchants enhance the customer experiences.

Quick to Market:

Magento B2B solution is custom made to meet the demand of the B2B merchants. This helps any B2B merchants to go to market quickly than any other platform in the market. The huge number of Magento partners makes it very easy for merchants to launch their B2B ecommerce portal quickly.

Magento Community and Partner Network

Magento commerce marketplace is highly active and has many innovative extensions. These readymade plug and play extension make customizing Magento as per the need of the merchants super easy and hence reduce the development time.

Magento certified partners are a boon for the merchants as they can choose from a highly qualified network of developers to meet their budget and launch time. This is a huge advantage Magento has over its competitors.

Cloud based solution

The latest version, Magento 2.2, is a cloud based solution and has all the most important features packaged in one solution.

This serves as a huge advantage for any company looking to have a feature rich B2B ecommerce solution. They can opt for the Magento cloud based solution which can also be customized with the help of integration partners and Magento certified developers.

These features make Magento a power house in the B2B ecommerce market and provide an unassailable lead over its competitors.

We hope you have found these insights useful. Embitel is a full-service B2C and B2B ecommerce development firm which handles all aspects of an ecommerce business such as Magento design, Magento development, marketing and server support. Contact us to book a free consultation with our ecommerce developers.


  • 0

Have the Investments in IoT Really Paid Off? : An Analysis of the IoT Business Index Report

Category : Embedded Blog

The ‘Internet of Things’ is the new disruptive technology that is transforming the entire business world enabling them to explore new channels of revenue, improve customer experience and optimize the operational cost through technological innovations.

From manufacturing to healthcare to agriculture – IoT is everywhere, creating a connected ecosystem to find data-driven solutions to the real world problems.

IoT technology has already become a familiar term with more and more organizations across the industries adopting it as their core business model.

But it is also important to look back and check how successful these organizations have been in adapting to the technological transformation driven by IoT solutions, systems and processes.

In a bid to draw the real picture of how successful are various industries in embracing the IoT, the Economist Intelligence Unit has published a detailed report : ‘The Internet of Things Business Index 2017: Transformation in motion’, sponsored by ARM and IBM.

While at a broader level the statistics related to IoT adoption by various sectors looks promising, an in-depth analysis shows that the adoption has been not so uniform and falls short (at certain instances) from the anticipated results.

An Analysis of the IoT Business Index Report :

The report takes into account response from around 825 senior business leaders, from around the world and from different industries such as IT, healthcare, manufacturing, automotive, real estate, financial services – to name a few.

The report underlines the fact that the entire business world sees IoT as the key driver of the digital transformation in the coming times and believes that IoT technology is important for their success in the future.

But what makes IoT the future of business? As per the report survey, following are the main premises

  • IoT is changing the way the organizations create and capture customer value.
  • IoT enables ‘interoperability within ecosystems’ through a high-profile network of connected devices that collect and transfer data in real time.

In this context, the IoT Business Index report found out that:

  • 22% of the executives surveyed feel that IoT has opened up new revenue opportunities from existing products and services.
  • 16 % survey respondents said that IoT has unlocked new business opportunities allowing the organizations to enter new markets and industries through.
  • Many organizations (15%) believe that IoT will have a greater impact through internal cost savings.
  • 47% of the organizations believe that the IoT will be a crucial component of their digital transformation strategy.

Adoption of IoT Across the Industries:

IoT Business Index
Image courtesy: The IoT Business Index 2017

According to the IoT Business Index report, while IoT adoption across the industries and geographical regions have been positive , majority of the respondents of the survey felt that they were not able to achieve IoT development as good as they had expected.

Here are some interesting results from ‘Industry’ and ‘Region’ stand-point:

  1. IT is leading in IoT adoption in external operations:
  2. In comparison to the survey done in 2013, the sectors that are leading in early IoT implementation within their products and services are- IT and technology (with a score rising from 4.33 in 2012 to 6.04 in 2016), followed by the financial services (from 3.46 to 5.44), and subsequently consumer goods and retail (from 3.68 to 5.02).

    Although, the Construction and real estate sector has a negative IoT index that has gone down from 3.86 in 2013 to 2.89 in 2016, it is reported that the industry is slowly progressing towards IoT implementation with a subsequent growth being driven by firms dealing with property management which hold the future of IoT in the sector.

  3. Infrastructure leads in IoT implementation in internal operations:
  4. With an IoT index of 5.02, the infrastructure industry comprising of transport, logistics and telecommunications is the frontrunner.

    Finance sector with a score of 4.9 comes second, followed by the energy and natural resources sector and subsequently outsourced facilities management with a score of 4.69 and 4.51 respectively.

  5. IoT adoption has not been as dynamic as anticipated:
  6. One in ten companies surveyed have reported and “extensive” adoption of the IoT technologies for both external as well as internal operations. 56% “somewhat” or “strongly” agree that their progress with the IoT implementation has not been as fast as they had anticipated.

  7. Europe is the frontrunner in IoT adoption:
  8. Compared to the overall cases in 2013, Asia-Pacific has shown a narrow progress with its IoT index growing from 4.35 to 4.53 in 2016. On the contrary, the North American index for internal IoT adoption has dropped down from 4.00 to 3.78 in 2016. Leading the way is the European businesses, which have a regional score on internal operations rising from 4.39 in 2013 to 4.64 in 2016.

Top Challenges in Embracing IoT as a Business Model:

In spite of the overwhelming responses across the industries and verticals towards IoT implementation, there are considerable issues and organizational challenges that are keeping the business entities from achieving what they regard as ‘extensive’ implementation of IoT as a mass market tool.

The survey respondents feel that in order to understand and address these roadblocks, there is a need to:

  • Understand how companies must adapt their internal structures with transformative nature of an IoT ecosystem consisting of connected devices that are capable of communicating with each other.
  • Analyzing the ‘go-to market strategies’ of various firms.

IoT Business
Image courtesy: The IoT Business Index 2017
 

  1. Expensive IoT infrastructure: Higher costs of infrastructure needed in building an IoT based ecosystem (voted by 29% of the companies surveyed)
  2. Security and privacy concerns: About 26% of the executives surveyed say that IoT system poses a significant level of security and privacy threats that keep them from making that huge leap to an IoT enabled business.
    • The security and privacy concerns have been triggered majorly by the instances of cyber attacks such as the distributed denial of service (DDoS) attacks ( chiefly the Dyn breach that caused considerable harm by driving malicious traffic to infected IoT devices, making them inaccessible to legitimate users).
    • Malware that target the connected IoT device. In a well-connected setup like the IoT where a large number of critical devices, collecting sensitive data , are accessible online, there are higher chances of hacking and malware attacks that can lead to critical situations such as data manipulation, loss of business etc.
  3. Such security scams, the surveyors feel that can prompt government regulatory bodies to mandate certain IoT Security Standards, which could further slowdown the IoT adoption.

  4. Managing the volume and variety of data from various sensors: Another challenge posed by IoT is managing the large volume of data from various sensors installed within the network. This may challenge organizations’ existing data analytics capabilities if they are not capable of managing large chunk of unstructured data.

    Majority of the data specialists today have experience working on neatly structured data, pulled out from various OS’s and categorically stored in relational databases.

Probable solution: Data specialists are far more accustomed to working with structured data drawn from operational systems that fit neatly into the strict format of rows and columns offered by a relational database. One way to deal with this situation, according to the survey respondents, is to ensure that the organizations are capable of using advanced analytical algorithms while collecting data in time-series databases and event-stream processing platforms.

But What are ‘they’ Doing Towards IoT Adoptions:

Business organizations across the world are implementing continuous measures with the aim of using IoT extensively in their businesses. A significant number of organizations (35%) are learning from the experience of early adopters and chalking out their own strategy in accordance. Another 35% are already seeking advice from third-party consultants to implement the best IoT strategy.

One-third (33%) say they have already taken steps to train existing staff to work with the IoT, while 27% are either conducting or sponsoring research to analyze the overall market size and demand.

Some of the firms such as the German carmaker Daimler , with a sound IoT strategy in place, have managed to harness IoT’s potential to create new demand and deliver more futuristic business offerings. Daimler’s car2go service, a ‘free floating’ car sharing application that enables its users to use shared cars as and when needed, has used IoT to solve real world problems of traffic, parking space crunch, pollution etc.

Similarly, ISS, a Danish facilities management service, has been harnessing IoT functionalities to learn occupant behavior and usage of facilities using sensors embedded into the building structures, and helps their clients with relevant advisory services.

What is the Future of IoT?

While overall results around IoT implementation as a business tool have been rather dull, about 47% of the executives across the world still agree that the IoT will be one of the most important parts of their organization’s digital transformation strategy.

And this is where the planning and execution to build a long term IoT strategy has to happen that not only addresses the current organizational challenges but also makes it possible for any business, independent of  the region or  vertical it belongs to or size of its operations, to easily adopt IoT without getting bogged down.


  • 0

IoT Cloud Computing – Best Practices, Benefits and More

While trying to understand an IoT solution, it is important to take note of one of its major components – Cloud Backend.

It has the responsibility of accepting tons of information from the IoT gateway, storing and processing it into actionable resources and sending them to the user interface (web app/mobile app/dashboard).

In some advanced IoT solutions, IoT cloud applications also support capabilities such as machine learning and artificial intelligence.

Such innovations in IoT cloud application development ensure that IoT solutions are able to solve complex business problems in areas of industrial automation, connected car, connected healthcare and more.

Role of IoT Cloud Platforms

There is an inextricable link between IoT and Cloud. The data collected by the sensors is quite huge in the case of an industrial application of IoT and a gateway is not capable of processing and storing it. This data needs to be stored in a secure database and processed in an affordable and scalable way. This is where IoT cloud computing comes into the picture.

The cloud is connected to the IoT gateway through the internet and receives all the data fed to the gateway by the sensors. There are a few protocols that connect gateways to the IoT cloud applications and the most common among them is MQTT.

Sensors collect and feed data at all times, and this huge chunk of data after the aggregation and some pre-processing is transferred to the cloud for storage and processing.

IoT Cloud Application
Source: IBM Center for Applied Insights
Depending on the nature of the IoT implementation the cloud may have varying degrees of complexity. In simple applications, the cloud may consist of a database that stores the data collected by the sensors, as well as the information of the users who possess the right to access/modify the data.

In bigger and more complex implementations, the IoT cloud applications may also have the capability of machine learning, performing analytics, generating reports and more.

 

IoT Cloud Platforms – A Closer Look

Cloud is where the real action takes place. IoT cloud application along with the APIs and other interfaces manage the data and commands to and from the sensors or the gateways. Different APIs need to be integrated so that the data is read and stored accurately.

Some of the protocols such as MQTT, Websocket, CoAP, and AMQP are used to develop a powerful and secure interface that facilitates seamless communication between the sensors and the cloud. In order to ensure that there is no data loss during heavy inflow of data, a robust database is designed as well.

IoT Cloud Application development

Best Practices for IoT Cloud Application Development

  • Database Design
  • IoT entails a lot of data that need to be stored; hence a database is very critical to any IoT implementation. The best practices include analysing the number of sensor nodes and designing the database accordingly. Data management also needs to be optimized.

  • Scalability of the Server
  • Depending on the current and projected number of end users of the IoT application, the cloud server must have the provision for auto-scaling. Services like AWS-EC2 enable this feature.

  • Application Cloning
  • Application cloning is a feature that helps avoid system overload in case of increased traffic. This is an effective way of handling heavy traffic and must be enabled on the IoT cloud application.

  • Application Security
  • Hackers are always on the prowl and hence, IoT security is a major concern.

    • The data packets sent across the network need to be encrypted
    • TLS/SSL certificate should also be enabled so that remote access of IoT sensors and devices can be averted

How Cloud Complements IoT

The end users of the IoT infrastructure can be anywhere in the world and they need to be served round the clock, irrespective of their geographical locations and time zones. The IoT cloud architecture needs to be optimised so that this can be achieved.

IoT and cloud complement each other perfectly. While the former collects data and serves as a source of data, the latter acts as the destination as well as the distributor.

Benefits of Cloud in an IoT Ecosystem

  • Caters to data storage and processing demands of IoT
  • IoT has huge potential and in the near future, we could see all kinds of physical entities connected to each other. This would require raw computing power and only cloud can provide that.

  • Advanced analytics and monitoring
  • With a plethora of ‘things’ now being connected, there would be a need for constant analysis and monitoring in order to ensure seamless IoT experience to the users. An advanced cloud architecture will ensure that the IoT ecosystem is equipped with such capabilities.

  • Smoother inter-device connectivity
  • In an IoT solution, the sensors not only talk to the users, they also interact with each other. IoT cloud applications, along with the IoT gateway, ensure that different sensors and actuators are able to talk to each other without any incompatibility.

IoT cloud application development is backed by some really advanced and proven technologies like Amazon EC2 in combination with EBS (Elastic Block Store). A few others are G Suite from Google, and Microsoft Azure.

With many IoT cloud application development companies joining the revolution, we can expect a lot of interesting IoT innovations over the next few years with cloud at their core.